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
I am suffeing from a Access Violation error in hashlink.
In thx.core
Big.hx
public function multiply(that:BigIntImpl):BigIntImpl {
if (that.isZero()) //<--- Excpetion here
return Small.zero;
return that.isSmall ? multiplySmall(cast that) : multiplyBig(cast that);
}
BigIntImpl is a interface, and that is a BigInt abstract backed by the BigIntImpl, the method is being invoked by the * operator torough the abstract.
The base class is Big which extens BigIntImpl.
When I check it in the hashlink debugger it seems like that is now a simple int array hashlink debugger says Unknown value isZero.
How can I get past such a problem?
The text was updated successfully, but these errors were encountered:
When I wrote thx.core I do not believe hashlink existed yet so it has definitely not being tested there. I have not used Haxe for a minute. If you figure it out I will certainly merge a PR.
Not sure if this is hashlink or thx related
posted there
https://community.haxe.org/t/hashlink-access-violation-when-abstract-is-used-as-inerface/4250
I am suffeing from a Access Violation error in hashlink.
In thx.core
Big.hx
public function multiply(that:BigIntImpl):BigIntImpl {
if (that.isZero()) //<--- Excpetion here
return Small.zero;
return that.isSmall ? multiplySmall(cast that) : multiplyBig(cast that);
}
BigIntImpl is a interface, and that is a BigInt abstract backed by the BigIntImpl, the method is being invoked by the * operator torough the abstract.
The base class is Big which extens BigIntImpl.
When I check it in the hashlink debugger it seems like that is now a simple int array hashlink debugger says Unknown value isZero.
How can I get past such a problem?
The text was updated successfully, but these errors were encountered: