mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
Test that we don't try to revert builtins
This commit is contained in:
8
inputs/passing/dontRevertMath.ts
Normal file
8
inputs/passing/dontRevertMath.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
// test_output! undefined
|
||||
|
||||
export default function () {
|
||||
try {
|
||||
Math.sin(1);
|
||||
throw new Error("boom");
|
||||
} catch {}
|
||||
}
|
||||
Reference in New Issue
Block a user