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

10 lines
578 B
Text
Raw Normal View History

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