JSTQL-JS-Transform/output_testing/988error.bug-repro-trycatch-nested-overlapping-range.js

11 lines
No EOL
164 B
JavaScript

function Foo() {
try {
let thing = null;
if (cond) {
thing = makeObject();
}
if (otherCond) {
thing |> mutate(%);
}
} catch {}
}