https://issues.dlang.org/show_bug.cgi?id=24740
Issue ID: 24740
Summary: Can't parse static array type property when a type is
valid
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
template MyTemplate(alias parameter) {}
alias a = MyTemplate!(int[4].init);
Error: found `.` when expecting `)` following template argument list
Error: unexpected identifier `init` after `MyTemplate!(int[4])`
static assert(is(int[3].tupleof[0] == int));
Error: found `.` when expecting `)`
Error: found `tupleof` when expecting `)`
--