: Error : Unsafe call!!!!!

Monkey Forums/Monkey Bug Reports/: Error : Unsafe call!!!!!

ziggy(Posted 2013) [#1]
When trying to compile my Harpl compiler wich is a quite complex thing, I get this error message from trans: (0.71a) I can send the whole thing if required as I can't replicate it on smaller tests and the error does not give many details.

TRANS monkey compiler V1.48
Parsing...
Semanting...
Translating...
 : Error : Unsafe call!!!!!


EDIT: Get the whole thing here: http://www.lemonbytes.com/downloads/harpl2.zip
The "main file" is a file called hc.monkey, in the harpl2 subfolder. Try to build this to see the weird compiler error message appearing.
It compiles fine in older versions of Monkey

anyone reading this, please do not share my project just yet. It'll be open source if I get it working someday...


marksibly(Posted 2013) [#2]
Found it, and it'll probably affect a lot of code.

Should have a fix out very soon.


ziggy(Posted 2013) [#3]
Thanks! I'm removing the download link if you do not need it any more


marksibly(Posted 2013) [#4]
Ok, pushed a fix to the develop branch. You'll need to rebuild trans though.


ziggy(Posted 2013) [#5]
Thanks!


Xaron(Posted 2013) [#6]
Have the same issue with one of my projects using 71a...

edit: I can confirm that your fix in the dev branch works for me.