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

12 lines
606 B
Plaintext
Raw Normal View History

tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode8.ts(2,10): error TS1100: Invalid use of 'eval' in strict mode.
tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode8.ts(2,10): error TS2384: Overload signatures must all be ambient or non-ambient.
2014-07-23 19:40:39 +02:00
==== tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode8.ts (2 errors) ====
2014-07-13 01:04:16 +02:00
"use strict";
function eval() {
~~~~
!!! error TS1100: Invalid use of 'eval' in strict mode.
2014-07-23 19:40:39 +02:00
~~~~
!!! error TS2384: Overload signatures must all be ambient or non-ambient.
2014-07-13 01:04:16 +02:00
}