e44d39d4eb
* Updated error message for TS2539 * Switch to multiple error messages * inline variable Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
11 lines
561 B
Plaintext
11 lines
561 B
Plaintext
tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode7.ts(2,3): error TS1100: Invalid use of 'eval' in strict mode.
|
|
tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode7.ts(2,3): error TS2630: Cannot assign to 'eval' because it is a function.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode7.ts (2 errors) ====
|
|
"use strict";
|
|
++eval;
|
|
~~~~
|
|
!!! error TS1100: Invalid use of 'eval' in strict mode.
|
|
~~~~
|
|
!!! error TS2630: Cannot assign to 'eval' because it is a function. |