Closed obfuscated closed 3 years ago
BTW commenting the line print("before nativeConst=" + nativeConst + "\n");
makes the call to .getclass work correctly in squirrel 3.1.0 or even squirrel master.
I guess, my issue is not reading the documentation.
sq_pushnull(v);
sq_throwobject(v);
before return -1
fixes it.
Hello,
I have the following program:
I build it against squirrel 2.2.5 it produces this output:
But if I run it against squirrel 3.1.0 it throws an error and fails with this output:
Is this the expected behaviour? My goal is to be able to put const-like (read only from squirrel) objects in the root table or a table of choice.
It seems the problem happens because an error during delegation of the root-table infest a following delegation on the class instance.