mirror of
https://github.com/tc39/test262.git
synced 2025-07-21 13:04:39 +02:00
Add IsSimpleParameterList spec text to new test cases
This commit is contained in:
parent
7f395d6d87
commit
0100bb21dc
@ -9,6 +9,12 @@ negative:
|
|||||||
phase: parse
|
phase: parse
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
info: |
|
info: |
|
||||||
|
13.3.3.4 Static Semantics: IsSimpleParameterList
|
||||||
|
|
||||||
|
BindingElement : BindingPattern
|
||||||
|
|
||||||
|
1. Return false.
|
||||||
|
|
||||||
14.1.2 Static Semantics: Early Errors
|
14.1.2 Static Semantics: Early Errors
|
||||||
|
|
||||||
FunctionDeclaration : function BindingIdentifier ( FormalParameters ) { FunctionBody }
|
FunctionDeclaration : function BindingIdentifier ( FormalParameters ) { FunctionBody }
|
||||||
|
@ -9,6 +9,12 @@ negative:
|
|||||||
phase: parse
|
phase: parse
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
info: |
|
info: |
|
||||||
|
13.3.3.4 Static Semantics: IsSimpleParameterList
|
||||||
|
|
||||||
|
BindingElement : BindingPattern
|
||||||
|
|
||||||
|
1. Return false.
|
||||||
|
|
||||||
14.1.2 Static Semantics: Early Errors
|
14.1.2 Static Semantics: Early Errors
|
||||||
|
|
||||||
FunctionDeclaration : function BindingIdentifier ( FormalParameters ) { FunctionBody }
|
FunctionDeclaration : function BindingIdentifier ( FormalParameters ) { FunctionBody }
|
||||||
|
@ -9,6 +9,12 @@ negative:
|
|||||||
phase: parse
|
phase: parse
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
info: |
|
info: |
|
||||||
|
14.1.13 Static Semantics: IsSimpleParameterList
|
||||||
|
|
||||||
|
FormalParameters : FormalParameterList , FunctionRestParameter
|
||||||
|
|
||||||
|
1. Return false.
|
||||||
|
|
||||||
14.1.2 Static Semantics: Early Errors
|
14.1.2 Static Semantics: Early Errors
|
||||||
|
|
||||||
FunctionDeclaration : function BindingIdentifier ( FormalParameters ) { FunctionBody }
|
FunctionDeclaration : function BindingIdentifier ( FormalParameters ) { FunctionBody }
|
||||||
@ -92,6 +98,6 @@ features: [rest-parameters]
|
|||||||
//- setup
|
//- setup
|
||||||
$DONOTEVALUATE();
|
$DONOTEVALUATE();
|
||||||
//- params
|
//- params
|
||||||
...rest
|
a,...rest
|
||||||
//- body
|
//- body
|
||||||
"use strict";
|
"use strict";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user