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

           Summary: isNumeric causes a stack overlfow with mutable arrays
           Product: D
           Version: 2.036
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Rob Jacques <[email protected]> 2009-12-11 14:04:54 PST ---
Test case:

import std.string;

void main(string[] args) {
    isNumeric("1".dup);
}

This results in a stack overflow on DMD 2.037.
Note that immutable arrays work correctly. (i.e. isNumeric("1".idup); is okay)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to