https://issues.dlang.org/show_bug.cgi?id=12810
Issue ID: 12810
Summary: PrimaryExpression grammar does not allow type
constructors
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: websites
Assignee: [email protected]
Reporter: [email protected]
Simple example:
---
int a = immutable(int).init;
---
The grammar has a rule for
---
int a = int.init;
---
which is
PrimaryExpression:
BasicTypeX . Identifier
but it does not have
TypeCtor(BasicType) . Identifier
--