librasn / rasn

A Safe #[no_std] ASN.1 Codec Framework
Other
183 stars 43 forks source link

fix(macro): recognize option references #219

Closed 6d7a closed 5 months ago

6d7a commented 5 months ago

Closes #217

OptionalEnum::is_option_type did not properly process references to Options. References to Option types are present in enum values with named fields. This PR fixes that behavior and adds a test for it.

XAMPPRocky commented 5 months ago

Thank you for your PR!

orthecreedence commented 5 months ago

@6d7a swoops in for another fix. Thanks for this!