Fatal error: Label 'c1107822099' already defined
Closed this issue · 1 comments
thekid commented
...when emitting a try/catch nested inside a catch block for PHP 7.0:
use lang\IllegalArgumentException;
class Test {
public function run() {
try {
throw new IllegalArgumentException("test");
} catch (IllegalArgumentException $expected) {
try {
throw $expected;
} catch (IllegalArgumentException $expected) {
return $expected->getMessage();
}
}
}
}
thekid commented
Fix released in https://github.com/xp-framework/compiler/releases/tag/v8.8.5