Play

View Ticket
Login
2020-08-12
12:32 Closed ticket [143c4a153a]: Using Int's in multiwords does not work correctly plus 3 other changes artifact: 72db4606ac user: robin.hansen
12:31
Auto (un)boxing of integers that are involved as the target of multiwords. Fixes [143c4a153a]. check-in: 24260843e0 user: robin.hansen tags: trunk
2020-05-01
06:39 New ticket [143c4a153a] Using Int's in multiwords does not work correctly. artifact: 58a995b69d user: robin.hansen

Ticket UUID: 143c4a153a3c89926b2eef24ff66fd8507c4e0f4
Title: Using Int's in multiwords does not work correctly
Status: Closed Type: Bug
Severity: Critical System: Compiler
Resolution: Fixed Modified: 2020-08-12 12:32:18
User Comments:
robin.hansen added on 2020-05-01 06:39:27:
Using Int as part of a union passed to a multiword will fail, as Int is a primitive type so there is no way to check what type an Int is at runtime.

This will have to be solved by automatically boxing and unboxing Int's as they are passed to, and returned from, multiwords.

This will also apply to any future primitives.