TypeScript/tests/baselines/reference/parserFunctionPropertyAssignment3.js
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

6 lines
161 B
JavaScript

//// [parserFunctionPropertyAssignment3.ts]
var v = { "foo"() { } };
//// [parserFunctionPropertyAssignment3.js]
var v = { "foo": function "foo"() {
} };