TypeScript/tests/baselines/reference/uncaughtCompilerError2.errors.txt
Daniel Rosenwasser 819ea95953 Better error recovery for when an arrow function is missing a curly brace.
Also better identification of arrow function expressions.
2014-07-18 16:55:18 -07:00

9 lines
No EOL
214 B
Text

==== tests/cases/compiler/uncaughtCompilerError2.ts (2 errors) ====
function getObj() {
().toString();
~
!!! '=>' expected.
~~~~~~~~
!!! Cannot find name 'toString'.
}