Skip to content
Snippets Groups Projects
Commit 3702ae10 authored by Brian Terlson's avatar Brian Terlson
Browse files

Merge pull request #202 from bocoup/198

computed-property-names: follow up corrections. Fixes gh-198
parents 2df6c4f2 3ac4b240
No related branches found
No related tags found
No related merge requests found
...@@ -3,10 +3,8 @@ ...@@ -3,10 +3,8 @@
/*--- /*---
es6id: 14.5.3 es6id: 14.5.3
description: > description: >
computed property generator method names cannot be "constructor" computed property generator method names can be called "constructor"
negative: SyntaxError
---*/ ---*/
class C4 { class C4 {
*['constructor']() { *['constructor']() {}
}
} }
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
es6id: 14.5.3 es6id: 14.5.3
description: > description: >
computed property getter names can be called "constructor" computed property getter names can be called "constructor"
negative: SyntaxError
---*/ ---*/
class C4 { class C4 {
get ['constructor']() {} get ['constructor']() {}
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
es6id: 14.5.3 es6id: 14.5.3
description: > description: >
computed property setter names can be called "constructor" computed property setter names can be called "constructor"
negative: SyntaxError
---*/ ---*/
class C4 { class C4 {
set ['constructor'](_) {} 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