https://d.puremagic.com/issues/show_bug.cgi?id=12150



--- Comment #1 from Andrej Mitrovic <[email protected]> 2014-02-13 
02:12:32 PST ---
Here's the slightly reduced example code of where I ran into the issue:

-----
import std.file;

int parseCode(string code)
{
    return parseCode(code.dup);
}

int parseCode(ubyte[] code)
{
    return 0;
}

void main()
{
    parseCode(cast(ubyte[])std.file.read("test.d"));  // ok
    parseCode("foo");  // stack overflow
}
-----

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

Reply via email to