You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assigning value as number to acc[key] is an error when using string enums.
The text was updated successfully, but these errors were encountered:
raymondpebble
changed the title
map<string, MyEnum> fails with stringEnums=truemap<string, MyEnum> generates incorrect output when stringEnums=trueMar 27, 2022
@raymondpebble thanks for filing; I think that this was just fixed by #529 ? I'm pretty sure enough that I'm going to close this as a duplicate, but let me know if not. Thanks!
The generated code looks like this:
Assigning
value as number
toacc[key]
is an error when using string enums.The text was updated successfully, but these errors were encountered: