Remove unnecessary parts of test case for "PrivateName IdentifierName is accessed on SuperProperty"

This commit is contained in:
Rick Waldron 2018-10-15 12:38:53 -04:00
parent 7736c00f6a
commit 8a59f61c2b

View File

@ -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();
} }