mirror of
https://github.com/tc39/test262.git
synced 2025-07-27 07:54:41 +02:00
Remove unnecessary parts of test case for "PrivateName IdentifierName is accessed on SuperProperty"
This commit is contained in:
parent
7736c00f6a
commit
8a59f61c2b
@ -4,8 +4,6 @@
|
|||||||
/*---
|
/*---
|
||||||
desc: It is syntax error if PrivateName IdentifierName is accessed on SuperProperty
|
desc: It is syntax error if PrivateName IdentifierName is accessed on SuperProperty
|
||||||
info: |
|
info: |
|
||||||
Updated Productions
|
|
||||||
|
|
||||||
ClassElementName :
|
ClassElementName :
|
||||||
PropertyName
|
PropertyName
|
||||||
PrivateName
|
PrivateName
|
||||||
@ -21,14 +19,10 @@ template: syntax/invalid
|
|||||||
features: [class-methods-private]
|
features: [class-methods-private]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
class B {
|
|
||||||
#x() {}
|
|
||||||
}
|
|
||||||
|
|
||||||
//- heritage
|
//- heritage
|
||||||
extends B
|
extends B
|
||||||
|
|
||||||
//- elements
|
//- elements
|
||||||
method() {
|
method() {
|
||||||
super.#x();
|
super.#x();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user