bytecode: int/float inference bug #99

Closed
opened 2026-02-05 14:02:39 +03:00 by sergeych · 1 comment
Owner
    val delta = abs(sum - s0) / abs(sum)

sum is assigned with Real on declaration. s0 should infer from it. Still delta is Int.

val delta = abs(sum - s0) / abs(sum) sum is assigned with Real on declaration. s0 should infer from it. Still delta is Int.
Author
Owner

the bug was not in inference but in invalid local slot reuse; fixed

the bug was not in inference but in invalid local slot reuse; fixed
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SergeychWorks/lyng#99
No description provided.