Be able to convert from integers to C-like enums #1648
Labels
A-type-system
Area: Type system
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Now that we can specify explicit discriminant numbers (see #1393) it would be nice to be able to convert from integers to the C-like enums. Doing so safely will likely require some sort of run-time check.
The text was updated successfully, but these errors were encountered: