indutny / asn1.js

ASN.1 Decoder/Encoder/DSL
MIT License
181 stars 64 forks source link

use(fn) inside choice #133

Open muromec opened 1 year ago

muromec commented 1 year ago

Bug: When use((ob)=> Model) is used as direct descendant of choice, reference to the object being serialized is not provided.

This commit fixes the issue.