Skip to content

[cppia] Fix *= with boxed numbers in jit - #1259

Merged
Simn merged 2 commits into
HaxeFoundation:masterfrom
tobil4sk:fix/cppia-dynamic-int-mult-assign
Nov 25, 2025
Merged

[cppia] Fix *= with boxed numbers in jit#1259
Simn merged 2 commits into
HaxeFoundation:masterfrom
tobil4sk:fix/cppia-dynamic-int-mult-assign

Conversation

@tobil4sk

Copy link
Copy Markdown
Member

Closes #926.

In genSetter, if ioValue is a boxed int/float, then we cannot pass it
directly into compiler->mult. We need to perform a conversion into a
float.

This is now closer to how aoSub is handled.
@Simn
Simn merged commit db33acf into HaxeFoundation:master Nov 25, 2025
120 checks passed
@tobil4sk
tobil4sk deleted the fix/cppia-dynamic-int-mult-assign branch November 25, 2025 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using cppia, jit and type parameters produces incorrect arithmetic

2 participants