[Issue 4542] [tdpl] TDPL NVI example results in linker error

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Nov 2 04:26:46 PDT 2016


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

Simon Na. <eiderdaus at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |link-failure
                 CC|                            |eiderdaus at gmail.com

--- Comment #16 from Simon Na. <eiderdaus at gmail.com> ---
This bug is still in dmd 2.071.2 and 2.072.

I ran into this today, here's my reduced case:

    interface IA {
        package void f();
    }
    void main() {
        IA a;
        a.f();
    }

Nothing new, but I'd like to nudge for resolution. :-) I dustmited my project
due to this bug. The linker error didn't help me.

If this is hard to fix, then maybe error out at compile-time as a hack?

-- Simon

--


More information about the Digitalmars-d-bugs mailing list