digitalmars.D.bugs - [Issue 12748] New: ICE: Using typeof(S.init[0]) in type name
- via Digitalmars-d-bugs (22/22) May 15 2014 https://issues.dlang.org/show_bug.cgi?id=12748
https://issues.dlang.org/show_bug.cgi?id=12748 Issue ID: 12748 Summary: ICE: Using typeof(S.init[0]) in type name specialization. Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: minor Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: kdmult ya.ru I am not sure the syntax is correct, but some error message is expected instead of the ICE. --- module test; void test(S, C : typeof(S.init[0]))(S s, C c) {} void main() {} --- --
May 15 2014