[Issue 4784] New: [ICE] with count()
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 1 10:27:28 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4784
Summary: [ICE] with count()
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2010-09-01 10:27:12 PDT ---
import std.algorithm: count;
import std.range: iota;
void main() {
int[] foo(R)(R m) {
count!((a){ return true; })(m);
return [];
}
foo(foo(iota(1)));
}
DMD 2.048 returns:
Internal error: toir.c 190
--
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