Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.0.0-alpha-3
-
None
-
None
Description
new A()
{}
is parsed as this.(new A())({}) i.e. method call with constructor call as method expression.
This results in invocation of whatever `#toString()` returns which doesn't make sense.
In older version it was parsed as new A().call({}).