TypeScript/tests/baselines/reference/parserStrictMode12.errors.txt

5 lines
221 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode12.ts (1 errors) ====
"use strict";
var v = { set foo(eval) { } }
2014-07-23 19:40:39 +02:00
~~~~
!!! Invalid use of 'eval' in strict mode.