Compilation Error - Missing Return Statement
Monkey Targets Forums/Android/Compilation Error - Missing Return Statement
| ||
Hello! Today I tried to compile my game onto an Android phone and got following error: C:\Monkey\Android\BunnyHopp\Main.build\android\src\com\monkey\MonkeyGame.java:2959: missing return statement I looked into the MonkeyGame.java file, searched line number 2959 and landed in this method public int bbm_Compare(Object bbt_lhs,Object bbt_rhs){ bb_std_lang.pushErr(); } What am I doing wrong? thank you very much!! :) |
| ||
At a guess you've called Sort on an instance of the base Monkey list. In theory Monkey should never produce code that causes a compile error in the target language though, so it's also a bug in Monkey. |
| ||
No, I don't sort any list... I'll post it into the Bug-Forum |