[Issue 12748] New: ICE: Using typeof(S.init[0]) in type name specialization.
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu May 15 11:07:58 PDT 2014
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 at puremagic.com
Reporter: kdmult at 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() {}
---
--
More information about the Digitalmars-d-bugs
mailing list