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

Elie Morisse <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
           Hardware|x86_64                      |All
                 OS|Windows                     |All

--- Comment #1 from Elie Morisse <[email protected]> ---
It's not specific to nested classes:

struct S {
    S2 a;
}

struct S2 {
    void foo(scope S s) { }
}

=> Error: struct S no size because of forward reference

Kinda related: issue 17548 was another bogus forward ref error originating from
the same TypeStruct.hasPointers call in TypeFuntion.semantic (but as I
understand it that call isn't the actual problem).

--

Reply via email to