2014-09-24 17:52:02 +02:00
|
|
|
tests/cases/compiler/unaryOperatorsInStrictMode.ts(3,3): error TS1100: Invalid use of 'eval' in strict mode.
|
|
|
|
tests/cases/compiler/unaryOperatorsInStrictMode.ts(3,3): error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.
|
2014-12-17 00:56:56 +01:00
|
|
|
tests/cases/compiler/unaryOperatorsInStrictMode.ts(4,3): error TS1100: Invalid use of 'eval' in strict mode.
|
2014-09-24 17:52:02 +02:00
|
|
|
tests/cases/compiler/unaryOperatorsInStrictMode.ts(4,3): error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.
|
2014-12-17 00:56:56 +01:00
|
|
|
tests/cases/compiler/unaryOperatorsInStrictMode.ts(5,3): error TS1100: Invalid use of 'arguments' in strict mode.
|
2014-09-24 17:52:02 +02:00
|
|
|
tests/cases/compiler/unaryOperatorsInStrictMode.ts(5,3): error TS2304: Cannot find name 'arguments'.
|
2014-12-17 00:56:56 +01:00
|
|
|
tests/cases/compiler/unaryOperatorsInStrictMode.ts(6,3): error TS1100: Invalid use of 'arguments' in strict mode.
|
2014-09-24 17:52:02 +02:00
|
|
|
tests/cases/compiler/unaryOperatorsInStrictMode.ts(6,3): error TS2304: Cannot find name 'arguments'.
|
2014-12-17 00:56:56 +01:00
|
|
|
tests/cases/compiler/unaryOperatorsInStrictMode.ts(7,1): error TS1100: Invalid use of 'eval' in strict mode.
|
2014-09-24 17:52:02 +02:00
|
|
|
tests/cases/compiler/unaryOperatorsInStrictMode.ts(7,1): error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.
|
2014-12-17 00:56:56 +01:00
|
|
|
tests/cases/compiler/unaryOperatorsInStrictMode.ts(8,1): error TS1100: Invalid use of 'eval' in strict mode.
|
2014-09-24 17:52:02 +02:00
|
|
|
tests/cases/compiler/unaryOperatorsInStrictMode.ts(8,1): error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.
|
2014-12-17 00:56:56 +01:00
|
|
|
tests/cases/compiler/unaryOperatorsInStrictMode.ts(9,1): error TS1100: Invalid use of 'arguments' in strict mode.
|
2014-09-24 17:52:02 +02:00
|
|
|
tests/cases/compiler/unaryOperatorsInStrictMode.ts(9,1): error TS2304: Cannot find name 'arguments'.
|
2014-12-17 00:56:56 +01:00
|
|
|
tests/cases/compiler/unaryOperatorsInStrictMode.ts(10,1): error TS1100: Invalid use of 'arguments' in strict mode.
|
2014-09-24 17:52:02 +02:00
|
|
|
tests/cases/compiler/unaryOperatorsInStrictMode.ts(10,1): error TS2304: Cannot find name 'arguments'.
|
|
|
|
|
|
|
|
|
|
|
|
==== tests/cases/compiler/unaryOperatorsInStrictMode.ts (16 errors) ====
|
|
|
|
"use strict"
|
|
|
|
|
|
|
|
++eval;
|
|
|
|
~~~~
|
|
|
|
!!! error TS1100: Invalid use of 'eval' in strict mode.
|
|
|
|
~~~~
|
|
|
|
!!! error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.
|
|
|
|
--eval;
|
|
|
|
~~~~
|
|
|
|
!!! error TS1100: Invalid use of 'eval' in strict mode.
|
|
|
|
~~~~
|
|
|
|
!!! error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.
|
|
|
|
++arguments;
|
|
|
|
~~~~~~~~~
|
|
|
|
!!! error TS1100: Invalid use of 'arguments' in strict mode.
|
|
|
|
~~~~~~~~~
|
|
|
|
!!! error TS2304: Cannot find name 'arguments'.
|
|
|
|
--arguments;
|
|
|
|
~~~~~~~~~
|
|
|
|
!!! error TS1100: Invalid use of 'arguments' in strict mode.
|
|
|
|
~~~~~~~~~
|
|
|
|
!!! error TS2304: Cannot find name 'arguments'.
|
|
|
|
eval++;
|
|
|
|
~~~~
|
|
|
|
!!! error TS1100: Invalid use of 'eval' in strict mode.
|
|
|
|
~~~~
|
|
|
|
!!! error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.
|
|
|
|
eval--;
|
|
|
|
~~~~
|
|
|
|
!!! error TS1100: Invalid use of 'eval' in strict mode.
|
|
|
|
~~~~
|
|
|
|
!!! error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.
|
|
|
|
arguments++;
|
|
|
|
~~~~~~~~~
|
|
|
|
!!! error TS1100: Invalid use of 'arguments' in strict mode.
|
|
|
|
~~~~~~~~~
|
|
|
|
!!! error TS2304: Cannot find name 'arguments'.
|
|
|
|
arguments--;
|
|
|
|
~~~~~~~~~
|
|
|
|
!!! error TS1100: Invalid use of 'arguments' in strict mode.
|
|
|
|
~~~~~~~~~
|
|
|
|
!!! error TS2304: Cannot find name 'arguments'.
|
|
|
|
|