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

Walter Bright <bugzi...@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzi...@digitalmars.com

--- Comment #1 from Walter Bright <bugzi...@digitalmars.com> ---
This shrinks down a bit to:

struct S {
    int[]         // works
    //auto        // doesn't work
    foo() return @safe {
        return x[];
    }
    int[4] x;
}

@safe int[] f() {
    S s;
    return s.foo();
}

--

Reply via email to