test262/src/class-elements/grammar-privatename-whitespace-error-async-meth.case
Leo Balter b183a6f568 Update tests to verify lexical grammar of private names
No whitespace allowed between the sigil and the identifier name
2018-09-10 17:13:05 -04:00

21 lines
441 B
Plaintext

// Copyright (C) 2018 Bloomberg LP. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: No space allowed between sigil and IdentifierName (Async Method)
info: |
Updated Productions
ClassElementName :
PropertyName
PrivateName
PrivateName ::
# IdentifierName
template: syntax/invalid
features: [async-functions, class-methods-private]
---*/
//- elements
async # m() {}