Calder Coalson

Results 12 comments of Calder Coalson
trafficstars

The example that inspired this is from the 3GPP NR spec: ```asn1 PCCH-Config ::= SEQUENCE { .. nAndPagingFrameOffset [1] EXPLICIT CHOICE { oneT [0] NULL, halfT [1] INTEGER (0..1), quarterT...

The minimal compiler diff that fixes the toy example also causes larger examples to fail encoding length checks: ```diff diff --git a/rasn-compiler/src/generator/rasn/utils.rs b/rasn-compiler/src/generator/rasn/utils.rs index eb73dfb..3397fdc 100644 --- a/rasn-compiler/src/generator/rasn/utils.rs +++ b/rasn-compiler/src/generator/rasn/utils.rs...