Evaluating Enum
constructors should be a compile time error
#48350
Labels
legacy-area-front-end
Legacy: Use area-dart-model instead.
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: