TypeScript/tests/baselines/reference/parserFunctionPropertyAssignment2.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
149 B
JavaScript

//// [parserFunctionPropertyAssignment2.ts]
var v = { 0() { } };
//// [parserFunctionPropertyAssignment2.js]
var v = { 0: function 0() {
} };