Evaluating Enum
constructors should be a compile time error
#48350
Labels
area-front-end
Use area-front-end for front end / CFE / kernel format related issues.
Milestone
Given the following
enum
declaration:Evaluating
E(123, 'foo')
via the VM service results in a valid instance ofE
being returned. I haven't tested with a simplerEnum
declaration, but this is likely still an issue with simpler enums.FYI @chloestefantsova @johnniwinther
Related to #47849 and #47870.
The text was updated successfully, but these errors were encountered: