blob: af2d7ca56f3122c2f8c07692601ed4fa814814b2 [file] [log] [blame] [edit]
// Copyright (C) 2018 Bloomberg LP. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: >
It's a SyntaxError if delete operator is applied to CallExpression.PrivateName
async method
template: delete-error
features: [class-methods-private, async-functions]
---*/
//- infieldsetup
g = this.f;
//- infunctionsetup
var g = this.f;
//- expression
g().#m
//- functiondeclaration
f() {
return this;
}
async #m() {}