2014-07-23 19:40:39 +02:00
|
|
|
==== tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode6.ts (2 errors) ====
|
2014-07-13 01:04:16 +02:00
|
|
|
"use strict";
|
|
|
|
eval++;
|
|
|
|
~~~~
|
2014-07-23 19:40:39 +02:00
|
|
|
!!! Invalid use of 'eval' in strict mode.
|
|
|
|
~~~~
|
2014-07-13 01:04:16 +02:00
|
|
|
!!! An arithmetic operand must be of type 'any', 'number' or an enum type.
|