[ ] There is an issue for the bug/feature this PR is for. To avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it.
Exceptions raised during TS extends call are lost and errors are difficult to detect.
What is the new behavior?
Exceptions raised during TS extends call are correctly thrown in JS and can be processed in a catch block or unhandled exception handler, or crash with a meaningful error.
SuspendExceptionScope
instead of clearing exceptionalloc
throws a JS exceptiontsconfig.json
and transpileTypeScriptTests.ts
PR Checklist
What is the current behavior?
Exceptions raised during TS extends call are lost and errors are difficult to detect.
What is the new behavior?
Exceptions raised during TS extends call are correctly thrown in JS and can be processed in a catch block or unhandled exception handler, or crash with a meaningful error.