TypeScript/tests/baselines/reference/parserStrictMode12.errors.txt
2014-09-11 16:11:08 -07:00

5 lines
235 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode12.ts (1 errors) ====
"use strict";
var v = { set foo(eval) { } }
~~~~
!!! error TS1100: Invalid use of 'eval' in strict mode.