TypeScript/tests/baselines/reference/scopingInCatchBlocks.errors.txt
2014-07-12 17:30:19 -07:00

13 lines
316 B
Plaintext

==== tests/cases/compiler/scopingInCatchBlocks.ts (1 errors) ====
try { } catch(ex1) {
throw ex1;
}
try { } catch(ex1) { } // should not error
try { } catch(ex1) { } // should not error
var x = ex1; // should error
~~~
!!! Cannot find name 'ex1'.