The following asn.1 sequence taken from CCSDS SLE FSP spec (https://public.ccsds.org/Pubs/912x3b3.pdf) will produce a class ApidList that has embedded statically another class called also ApidList. The result will not compile.
ApidList ::= CHOICE
{ any [0] NULL
, apidList [1] SEQUENCE SIZE (1 .. 2048) OF Apid
}
The following asn.1 sequence taken from CCSDS SLE FSP spec (https://public.ccsds.org/Pubs/912x3b3.pdf) will produce a class ApidList that has embedded statically another class called also ApidList. The result will not compile.