blob: 95dd8e357c7c5686f634987bc3c197482e92b6a9 [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 Async Generator Private Methods 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: [async-iteration, class-static-methods-private]
---*/
//- elements
static async * #constructor() {}