std.reflect.Type
field kind
should be enum
#7184
Labels
✨ enhancement
New feature or request
needs-discussion
Further discussion is needed prior to impl
🎨 sdk
SDK
Use Case
To reduce bugs with writing code that is reflection heavy and dispatches based on what types have been reflected, it would be preferable to restrict the "kind" field to a fixed set of choices.
Example, instead of:
it can be:
Proposed Solution
No response
Implementation Notes
No response
Component
Compiler, SDK
Community Notes
The text was updated successfully, but these errors were encountered: