[Issue 9110] Escaping reference error from lazy variadic parameters

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Feb 11 21:04:03 PST 2015


https://issues.dlang.org/show_bug.cgi?id=9110

monkeyworks12 at hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |monkeyworks12 at hotmail.com

--- Comment #1 from monkeyworks12 at hotmail.com ---
I've also just ran into this error.

void test(lazy string[] s...)
{
}

void main(string[] argv)
{
    //Error: escaping reference to local
    test("asdf", "fdsa", "afsd", "sdaf");
}

--


More information about the Digitalmars-d-bugs mailing list