Objo.
Feedback Forum Docs Objo Studio
Feedback

Bug #2043

Module-qualified class casts fail at runtime

Status
Fixed
Fixed in
v26.11.4
Area
compiler
Source discussion
-
Last updated
2026-11-16

Upvotes

0 upvotes

Uses your Objo forum account.

Public summary

A class cast written with its containing module, such as Models.Item(value), can pass type checking but fail at runtime with a message saying the module has no shared method with that name.

Qualified class casts should resolve to the target class and behave consistently with equivalent unqualified casts, including the normal validation of incompatible values.

Objo.

Build apps visually, deploy anywhere.

Feedback is a public read-only status mirror for Objo Studio.