blob: 6a9748824b43e8eeede4a7a2d0e62f9fbb5844d0 [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: The pound signal in the private reference cannot be escaped
template: syntax/invalid
info: |
PrivateName ::
# IdentifierName
MemberExpression :
MemberExpression . PrivateName
CallExpression :
CallExpression . PrivateName
U+0023 is the escape sequence for #
features: [class-fields-private]
---*/
//- elements
method() {
this.\u0023field;
}