disallow async constructors -- fixes #1454
This commit is contained in:
@@ -0,0 +1 @@
|
||||
class X { async constructor() {} }
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"throws": "Illegal kind for constructor method",
|
||||
"optional": ["es7.asyncFunctions"]
|
||||
}
|
||||
Reference in New Issue
Block a user