Closed LaszloLueck closed 7 months ago
Yes, this is expected. Enum stringification is done by reflecting over the fields of the enum type. It's reflection like any other.
Thanks for clarification. I have now solved this with enumeration classes.
Regards!
For space reasons, I use bflat with the --no-reflection flag for a build (stdlib: dotnet). If I use this flag, no more enums are resolved.
For example:
If I compile this with --no-reflection, I get back 1 as output. If I leave out the --no-reflection flag, I get Yes as output.
Is this the normal behaviour or have I overlooked something?
Regards!