Bug 9001 – ICE on assigning expression tuple element with struct's `init` to enum

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-11-12T02:30:00Z
Last change time
2012-11-12T16:43:21Z
Keywords
ice
Assigned to
nobody
Creator
verylonglogin.reg

Comments

Comment #0 by verylonglogin.reg — 2012-11-12T02:30:39Z
--- struct S { int i = -1; } template expressionTuple(expressions...) { alias expressions expressionTuple; } alias expressionTuple!(S.init) exprTuple; enum es = exprTuple[0]; --- P.S. It's over nine thousand!
Comment #1 by bugzilla — 2012-11-12T16:43:21Z
*** This issue has been marked as a duplicate of issue 9000 ***