6 lines
No EOL
241 B
Text
6 lines
No EOL
241 B
Text
==== tests/cases/conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration18.ts (1 errors) ====
|
|
class C {
|
|
set Foo(...a) { }
|
|
~~~
|
|
!!! A 'set' accessor cannot have rest parameter.
|
|
} |