mirror of https://github.com/tc39/test262.git
update decorator member expr private id test cases
This commit is contained in:
parent
6da1d4c82c
commit
a3880a460a
|
@ -10,8 +10,8 @@ info: |
|
|||
|
||||
DecoratorMemberExpression[Yield, Await] :
|
||||
IdentifierReference[?Yield, ?Await]
|
||||
PrivateIdentifier
|
||||
DecoratorMemberExpression[?Yield, ?Await] . IdentifierName
|
||||
DecoratorMemberExpression[?Yield, ?Await] . PrivateIdentifier
|
||||
|
||||
IdentifierReference[Yield, Await] :
|
||||
[~Yield] yield
|
||||
|
|
|
@ -10,8 +10,8 @@ info: |
|
|||
|
||||
DecoratorMemberExpression[Yield, Await] :
|
||||
IdentifierReference[?Yield, ?Await]
|
||||
PrivateIdentifier
|
||||
DecoratorMemberExpression[?Yield, ?Await] . IdentifierName
|
||||
DecoratorMemberExpression[?Yield, ?Await] . PrivateIdentifier
|
||||
|
||||
IdentifierReference[Yield, Await] :
|
||||
Identifier
|
||||
|
|
|
@ -7,8 +7,8 @@ desc: >
|
|||
info: |
|
||||
DecoratorMemberExpression[Yield, Await] :
|
||||
IdentifierReference[?Yield, ?Await]
|
||||
PrivateIdentifier
|
||||
DecoratorMemberExpression[?Yield, ?Await] . IdentifierName
|
||||
DecoratorMemberExpression[?Yield, ?Await] . PrivateIdentifier
|
||||
|
||||
template: syntax/valid
|
||||
---*/
|
||||
|
|
|
@ -6,7 +6,9 @@ desc: >
|
|||
Decorator @ DecoratorMemberExpression
|
||||
info: |
|
||||
DecoratorMemberExpression[Yield, Await] :
|
||||
PrivateIdentifier
|
||||
IdentifierReference[?Yield, ?Await]
|
||||
DecoratorMemberExpression[?Yield, ?Await] . IdentifierName
|
||||
DecoratorMemberExpression[?Yield, ?Await] . PrivateIdentifier
|
||||
|
||||
PrivateIdentifier ::
|
||||
# IdentifierName
|
||||
|
@ -25,11 +27,11 @@ static #yield() {}
|
|||
static #await() {}
|
||||
|
||||
//- decorators
|
||||
@#$
|
||||
@#_
|
||||
@#\u{6F}
|
||||
@#\u2118
|
||||
@#ZW_\u200C_NJ
|
||||
@#ZW_\u200D_J
|
||||
@#yield
|
||||
@#await
|
||||
@C.#$
|
||||
@C.#_
|
||||
@C.#\u{6F}
|
||||
@C.#\u2118
|
||||
@C.#ZW_\u200C_NJ
|
||||
@C.#ZW_\u200D_J
|
||||
@C.#yield
|
||||
@C.#await
|
||||
|
|
Loading…
Reference in New Issue