Check for constructor args in new anon class expression
This commit is contained in:
parent
20d90c412a
commit
355791cee6
|
@ -3527,6 +3527,8 @@ invariant() foo();
|
||||||
if (currentIs(tok!"("))
|
if (currentIs(tok!"("))
|
||||||
node.allocatorArguments = parseArguments();
|
node.allocatorArguments = parseArguments();
|
||||||
expect(tok!"class");
|
expect(tok!"class");
|
||||||
|
if (currentIs(tok!"("))
|
||||||
|
node.constructorArguments = parseArguments();
|
||||||
if (!currentIs(tok!"{"))
|
if (!currentIs(tok!"{"))
|
||||||
node.baseClassList = parseBaseClassList();
|
node.baseClassList = parseBaseClassList();
|
||||||
node.structBody = parseStructBody();
|
node.structBody = parseStructBody();
|
||||||
|
|
Loading…
Reference in New Issue