We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
while(true)
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class Main { static public function main() { function loop() { while(true) { exit(); continue; } } try { loop(); } catch(e:String) { trace('ok'); } } static function exit() { throw 'exit'; } }
Hangs forever at runtime with cppia
The text was updated successfully, but these errors were encountered:
Is the dump correct?
Sorry, something went wrong.
Yes. Here's dump=pretty:
dump=pretty
@:keep @:used class Main { @:keep public static function main() { var loop = function() { while ((true)) { Main.crash(); continue; }; }; try { loop(); } catch (e:String) { haxe.Log.trace("ok!", {fileName : "src/Main.hx", lineNumber : 31, className : "Main", methodName : "main"}); }; } static function crash() { throw "wtf"; } }
This issue was moved to HaxeFoundation/hxcpp#876 and was fixed with: HaxeFoundation/hxcpp#1188, so this can be closed.
hughsando
No branches or pull requests
Hangs forever at runtime with cppia
The text was updated successfully, but these errors were encountered: