TypeScript/tests/baselines/reference/parserMissingToken1.errors.txt
Daniel Rosenwasser efb6db8757 Gracefully handle 'catch' and 'finally' blocks without a preceding 'try' block.
Fixes #216.

As a note of this fix, when a 'catch' block is followed by a 'finally' block, only the 'catch' keyword gets an error reported on it.
2014-07-25 18:10:27 -07:00

8 lines
230 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/MissingTokens/parserMissingToken1.ts (3 errors) ====
a / finally
~~~~~~~
!!! Expression expected.
!!! '{' expected.
~
!!! Cannot find name 'a'.