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
Just tested, it parses the correct value when using Int32, but with CInt taking an Int argument that doesn't help much. Even when changing that to Int32 it doesn't make it through the interpreter though, presumably because expr just assigns it to Dynamic when returning.
Activity
ncannasse commentedon Dec 20, 2015
It comes from there https://github.com/HaxeFoundation/hscript/blob/master/hscript/Parser.hx#L980-L989, any idea how to fix this @Simn ?
Simn commentedon Dec 20, 2015
Does it work if the Haxe 2 version with Int32 is used?
ncannasse commentedon Dec 20, 2015
I'm not sure, we didn't unit test it on PHP/Python at this time I think
Simn commentedon Dec 20, 2015
Just tested, it parses the correct value when using Int32, but with
CInttaking an Int argument that doesn't help much. Even when changing that to Int32 it doesn't make it through the interpreter though, presumably becauseexprjust assigns it to Dynamic when returning.ncannasse commentedon Dec 20, 2015
Maybe doing & 0xFFFFFFFF on these platforms would work ?
fix overflow on bigint platforms (close #42)