https://d.puremagic.com/issues/show_bug.cgi?id=12534
Summary: ICE on using expression tuple as type tuple
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: ice
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Kenji Hara <[email protected]> 2014-04-06 19:59:28 PDT ---
Test case:
alias TypeTuple(T...) = T;
void main()
{
int x, y;
alias exprs = TypeTuple!(x, y);
static assert(is(exprs[0..0])); // ICE!
}
----
Output:
assert hdrgen.c(770) 0
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------