Objo.
Feedback Forum Docs Objo Studio
Feedback

Bug #351

Integer-to-Double widening keeps Integer runtime value

Status
Fixed
Fixed in
v26.6.2
Source discussion
https://forum.objo.dev/d/280-crash-class-scrollbox
Last updated
2026-06-07

Public summary

Assigning an integer literal or expression to a variable declared As Double can leave an Integer value in the VM at runtime. Code that then calls a Double method, such as ToInteger(), can fail with RuntimeException: Only instances have methods. This surfaced in a ScrollBox.ContentHeight assignment, but the affected behaviour is numeric widening.

Objo.

Build apps visually, deploy anywhere.

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