[Issue 3176] New: Out of Memory error on poorly formed recurrence function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 14 20:29:19 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3176

           Summary: Out of Memory error on poorly formed recurrence
                    function
           Product: D
           Version: 2.031
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: Jesse.K.Phillips+D at gmail.com
                CC: Jesse.K.Phillips+D at gmail.com


The code below will cause the compiler to exit with "Error: out of memory"

import std.range;

void main() {
    auto sequence = recurrence!("a[n-1] + a[n-2")(0,1);
}

There is a missing ]

Expected a compilation error stating a malformed mixin.

-- 
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