summaryrefslogtreecommitdiff
path: root/src/class-fields/call-expression-privatename.case
blob: a00e9616c991080028edcb11ac1521f8bc2512d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2017 Valerie Young. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
desc: Syntax error if you call delete on call expressions . privatename
template: delete-error
---*/

//- infieldsetup
g = this.f;
//- infunctionsetup
var g = this.f;
//- expression
g().#x
//- functiondeclaration
  f() {
  return this;
}