HaxeFoundation / HaxeFoundation/haxe
[cppia] exception is not thrown inside of `while(true)`
Open
bug
platform-cpp
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
```haxe
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
Contributor guide
Assessment
This issue has not been assessed yet.