Feedback
Nested enum member types are identified correctly by introspection
- Status
- Fixed
- Fixed in
- v26.9.2
- Area
- compiler
- Source discussion
- https://forum.objo.dev/d/1088-introspection-enum/3
- Last updated
- 2026-09-16
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Introspection does not identify a class-nested enum when a property, field, method return, or method parameter declares that type using the valid short form available inside the owning class. For example, Property Current As State inside a class that declares Enum State produces a TypeInfo whose Name is State and whose IsEnum is False. It should describe the canonical nested type, such as Record.State, and report IsEnum = True.
Enums are not primitive types under Objo's introspection contract, so IsPrimitive = False is expected and should remain unchanged.