12 lines
No EOL
520 B
Text
12 lines
No EOL
520 B
Text
tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments12_ES6.ts(3,7): error TS1210: Invalid use of 'arguments'. Class definitions are automatically in strict mode.
|
|
|
|
|
|
==== tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments12_ES6.ts (1 errors) ====
|
|
|
|
class C {
|
|
f(arguments) {
|
|
~~~~~~~~~
|
|
!!! error TS1210: Invalid use of 'arguments'. Class definitions are automatically in strict mode.
|
|
var a = () => arguments;
|
|
}
|
|
} |