Feedback
Analyser does not report invalid enumeration members
- Status
- Fixed
- Fixed in
- v26.10.3
- Area
- compiler
- Source discussion
- https://forum.objo.dev/d/1355-analyzer-doesnt-see-the-unknown-enumeration-value-for-systemsymbol
- Last updated
- 2026-10-20
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
The analyzer accepts references to enumeration members that do not exist. For example, SystemSymbol.XXXXX produces no analysis error, and running the application then fails with an error saying that the enumeration has no such member.
Invalid enumeration member names should be reported during analysis and prevent compilation, for both built-in and user-defined enumerations. Valid member names must continue to work regardless of letter casing.