[Issue 12534] New: ICE on using expression tuple as type tuple
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Apr 6 19:59:43 PDT 2014
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: nobody at puremagic.com
ReportedBy: k.hara.pg at gmail.com
--- Comment #0 from Kenji Hara <k.hara.pg at gmail.com> 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: -------
More information about the Digitalmars-d-bugs
mailing list