[Issue 7575] New: [ICE] with possible forward reference error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 24 11:10:25 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7575
Summary: [ICE] with possible forward reference error
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 2012-02-24 11:10:24 PST ---
D2 code:
struct Foo {
Spam x;
alias int[int] Spam;
Spam bar() {
return x;
}
}
void main() {
foreach (y; Foo().bar()) {}
}
DMD 2.059head crashes.
--
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