[Issue 8460] New: [ICE] Internal error: toir.c 178
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jul 29 05:16:55 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8460
Summary: [ICE] Internal error: toir.c 178
Product: D
Version: D2
Platform: x86_64
OS/Version: Mac OS X
Status: NEW
Severity: critical
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: necroment at gmail.com
--- Comment #0 from Max Klyga <necroment at gmail.com> 2012-07-29 05:16:53 PDT ---
DMD 2.059, OS X 10.6.8
Got a reduced test case for this:
template C() {
alias void C;
}
class List(T, size_t N) {}
auto list(T...)() {
return list_impl!(C!T);
}
List!(L, 0) list_impl(L)() {
return null;
}
auto foldr(alias f, V, T, size_t N)(V, List!(T, N)) {}
auto map(alias f, T, size_t N)(List!(T, N)) {
foldr!(a => f)(null, list);
}
void main() {
auto l = list;
map!(a => a)(l);
map!(a => a)(l);
}
--
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