blob: a69c05d95947d281fc386cbc003d20058f029675 [file] [log] [blame] [edit]
// Copyright (C) 2018 Jaideep Bhoosreddy (Bloomberg LP). All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: It is syntax error if PrivateName IdentifierName is accessed on SuperProperty
info: |
ClassElementName :
PropertyName
PrivateName
PrivateName ::
# IdentifierName
SuperProperty:
super[Expression]
super.IdentifierName
template: syntax/invalid
features: [class-methods-private]
---*/
//- heritage
extends B
//- elements
#x() {}
method() {
super.#x();
}