September 02 [Issue 24740] New: Can't parse static array type property when a type is valid | ||||
---|---|---|---|---|
| ||||
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: nobody@puremagic.com Reporter: nick@geany.org 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 `)` -- |
Copyright © 1999-2021 by the D Language Foundation