blob: 83f23e7014edf732ef9269d60d0627aae2f4887f [file] [log] [blame] [edit]
// Copyright (C) 2018 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: Static Private Fields cannot be named constructor
info: |
Class Definitions / Static Semantics: Early Errors
ClassElementName : PrivateName ;
It is a Syntax Error if StringValue of PrivateName is "#constructor"
template: syntax/invalid
features: [class-static-fields-private]
---*/
//- elements
static #constructor