[Issue 10481] New: out of memory error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 26 13:04:06 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10481
Summary: out of memory error
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: regression
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: oivind.loe at gmail.com
--- Comment #0 from Øivind <oivind.loe at gmail.com> 2013-06-26 13:04:05 PDT ---
The following code, reduced by dustmite, causes an out of memory error in dmd:
struct A {
}
void get(T0 = T1.Req, Params...)(Params , T1) {
}
void main() {
auto xxx = get!A;
}
Output from dmd master (Jun 25 2013, 9fad79d33406c82cbdec62ac3e6e5ad2e29db4e4)
is:
test.d(7): Error: undefined identifier T1, did you mean alias T0?
Error: out of memory
In my original code, I only get the "out of memory" error. The test above gives
the following DMD error on v2.060, v2.062, e.g. no "out of memory":
test.d(7): Error: undefined identifier T1, did you mean alias T0?
test.d(11): Error: template instance test.get!(A) error instantiating
v2.063.2 gives simply:
Error: out of memory
--
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