[Issue 9001] New: ICE on assigning expression tuple element with struct's `init` to enum
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Nov 12 02:30:41 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9001
Summary: ICE on assigning expression tuple element with
struct's `init` to enum
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: ice
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: verylonglogin.reg at gmail.com
--- Comment #0 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2012-11-12 13:30:39 MSK ---
---
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!
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list