[Issue 9158] New: [ICE](glue.c line 787) with reduce from another module
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Dec 14 16:29:40 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9158
Summary: [ICE](glue.c line 787) with reduce from another module
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
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-12-14 16:29:36 PST ---
First module, named "module1.d":
import std.stdio;
import module2;
void main() {}
Second module, named "module2.d":
import std.algorithm: reduce;
struct Foo {
string bar() {
auto spam = (string s, int) => "";
return reduce!spam("", [1]);
}
}
It generates, dmd 2.061alpha:
Assertion failure: '!vthis->csym' on line 787 in file 'glue.c'
--
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