You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing operations involving modulo (because python has a non-standard implementation, I'm guessing) the haxe-generated Python code uses HxOverrides.mod to replace python's %. In one of my projects, I had to add --dce no to prevent this from happening when running the output using the python interpreter:
AttributeError: type object 'HxOverrides' has no attribute 'mod'
I tried to make a more minimal example to illustrate the problem and it instead will not even define HxOverrides unless I use --dce no.
When doing operations involving modulo (because python has a non-standard implementation, I'm guessing) the haxe-generated Python code uses
HxOverrides.mod
to replace python's%
. In one of my projects, I had to add--dce no
to prevent this from happening when running the output using the python interpreter:AttributeError: type object 'HxOverrides' has no attribute 'mod'
I tried to make a more minimal example to illustrate the problem and it instead will not even define
HxOverrides
unless I use--dce no
.Minimal example
Main.hx
This is with the latest haxe (4.3.3) so it should have fixes for similar issues I've seen in closed issues.
The text was updated successfully, but these errors were encountered: