Bug 12748 – ICE: Using typeof(S.init[0]) in type name specialization.
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-05-15T18:07:00Z
Last change time
2016-03-19T20:21:51Z
Keywords
ice, pull
Assigned to
nobody
Creator
kdmult
Comments
Comment #0 by kdmult — 2014-05-15T18:07:58Z
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() {}
---
Comment #1 by k.hara.pg — 2014-08-01T10:42:07Z
*** Issue 12804 has been marked as a duplicate of this issue. ***