2014-07-23 19:40:39 +02:00
|
|
|
==== tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode5.ts (2 errors) ====
|
2014-07-13 01:04:16 +02:00
|
|
|
"use strict";
|
|
|
|
eval += 1;
|
2014-07-23 19:40:39 +02:00
|
|
|
~~~~
|
|
|
|
!!! Invalid use of 'eval' in strict mode.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~~~~~~~
|
|
|
|
!!! Operator '+=' cannot be applied to types '(x: string) => any' and 'number'.
|