Skip to content
Snippets Groups Projects
Commit ebbf19b1 authored by Rick Waldron's avatar Rick Waldron
Browse files

Merge branch 'private-methods-delete-error' of...

Merge branch 'private-methods-delete-error' of git://github.com/jbhoosreddy/test262 into jbhoosreddy-private-methods-delete-error

* 'private-methods-delete-error' of git://github.com/jbhoosreddy/test262:
  revisions
  fixes
  test: Early error private methods delete (#1343)
parents 6cd3c4fb cfe7f350
No related branches found
No related tags found
No related merge requests found
Showing
with 140 additions and 4 deletions
// 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 MemberExpression.PrivateName
template: delete-error
features: [class, class-fields-private, class-methods-private, class-fields-public]
---*/
//- infieldsetup
g = this.f;
//- infunctionsetup
var g = this.f;
//- expression
g().#m
//- functiondeclaration
f() {
return this;
}
async *#m() {}
\ No newline at end of file
// 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 MemberExpression.PrivateName
template: delete-error
features: [class, class-fields-private, class-methods-private, class-fields-public]
---*/
//- infieldsetup
g = this.f;
//- infunctionsetup
var g = this.f;
//- expression
g().#m
//- functiondeclaration
f() {
return this;
}
async #m() {}
\ No newline at end of file
// 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 MemberExpression.PrivateName
template: delete-error
features: [class, class-fields-private, class-methods-private, class-fields-public]
---*/
//- infieldsetup
g = this.f;
//- infunctionsetup
var g = this.f;
//- expression
g().#m
//- functiondeclaration
f() {
return this;
}
* #m() {}
\ No newline at end of file
// 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 MemberExpression.PrivateName
template: delete-error
features: [class, class-fields-private, class-methods-private, class-fields-public]
---*/
//- infieldsetup
g = this.f;
//- infunctionsetup
var g = this.f;
//- expression
g().#m
//- functiondeclaration
f() {
return this;
}
#m() {}
\ No newline at end of file
......@@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: Syntax error if you call delete on call expressions . privatename
desc: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName
template: delete-error
features: [class, class-fields-private, class-fields-public]
---*/
......@@ -14,6 +14,6 @@ var g = this.f;
//- expression
g().#x
//- functiondeclaration
f() {
return this;
f() {
return this;
}
// 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 MemberExpression.PrivateName
template: delete-error
features: [class-methods-private]
---*/
//- expression
this.#m
//- functiondeclaration
async *#m() {}
\ No newline at end of file
// 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 MemberExpression.PrivateName
template: delete-error
features: [class-methods-private]
---*/
//- expression
this.#m
//- functiondeclaration
async #m() {}
\ No newline at end of file
// 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 MemberExpression.PrivateName
template: delete-error
features: [class-methods-private]
---*/
//- expression
this.#m
//- functiondeclaration
*#m() {}
\ No newline at end of file
// 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 MemberExpression.PrivateName
template: delete-error
features: [class-methods-private]
---*/
//- expression
this.#m
//- functiondeclaration
#m() {}
\ No newline at end of file
......@@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: Syntax error if you call delete on member expressions . privatename
desc: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName
template: delete-error
features: [class-fields-private]
---*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment