TypeScript/tests/baselines/reference/arrowFunctionMissingCurlyWithSemicolon.errors.txt
2014-09-12 13:35:07 -07:00

10 lines
378 B
Plaintext

tests/cases/compiler/arrowFunctionMissingCurlyWithSemicolon.ts(2,15): error TS1109: Expression expected.
==== tests/cases/compiler/arrowFunctionMissingCurlyWithSemicolon.ts (1 errors) ====
// Should error at semicolon.
var f = () => ;
~
!!! error TS1109: Expression expected.
var b = 1 * 2 * 3 * 4;
var square = (x: number) => x * x;