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: nob...@puremagic.com
        ReportedBy: jesse.k.phillip...@gmail.com
                CC: jesse.k.phillip...@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: -------

Reply via email to