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

9 lines
572 B
Plaintext
Raw Normal View History

2015-04-16 22:08:57 +02:00
tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments03.ts(3,15): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.
2015-04-16 21:42:25 +02:00
==== tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments03.ts (1 errors) ====
var arguments;
var a = () => arguments;
~~~~~~~~~
2015-04-16 22:08:57 +02:00
!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.