librasn / compiler

An ASN1 compiler producing Rust bindings for the rasn framework
Other
10 stars 7 forks source link

Issue with DEFAULT {} in SEQUENCE OF Type #2

Closed dudycz closed 6 months ago

dudycz commented 6 months ago

Following example from standard X.680 document (slightly simplified) emits warning: Unidentified generating bindings for : Unexpectedly encountered unlinked struct-like ASN1 value! and skips generation of PersonelRecord:

ExampleFromX680Spec DEFINITIONS AUTOMATIC TAGS ::=

BEGIN

PersonnelRecord ::=  SET {
        title VisibleString,
        children SEQUENCE OF VisibleString DEFAULT {}
}

END
6d7a commented 6 months ago

Thank you for your issue. The behavior should habe been fixed in #3.