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

computed-property-names: follow up corrections. Fixes gh-198

parent 2df6c4f2
No related branches found
No related tags found
No related merge requests found
......@@ -3,10 +3,8 @@
/*---
es6id: 14.5.3
description: >
computed property generator method names cannot be "constructor"
negative: SyntaxError
computed property generator method names can be called "constructor"
---*/
class C4 {
*['constructor']() {
}
*['constructor']() {}
}
......@@ -4,7 +4,6 @@
es6id: 14.5.3
description: >
computed property getter names can be called "constructor"
negative: SyntaxError
---*/
class C4 {
get ['constructor']() {}
......
......@@ -4,7 +4,6 @@
es6id: 14.5.3
description: >
computed property setter names can be called "constructor"
negative: SyntaxError
---*/
class C4 {
set ['constructor'](_) {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment