Feedback
Compiler accepts bare class names as instance values
- Status
- Fixed
- Fixed in
- v26.6.6
- Source discussion
- -
- Last updated
- 2026-06-25
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
The compiler accepts a bare class/type identifier in expression position as if it were an instance value. For example, StoreMainWindow(Win_Main) can compile when the parameter expects a Window, but at runtime Win_Main evaluates to the class object and causes a type mismatch.