[Issue 4542] [tdpl] TDPL NVI example results in linker error
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Aug 15 11:51:23 UTC 2022
    
    
  
https://issues.dlang.org/show_bug.cgi?id=4542
RazvanN <razvan.nitu1305 at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305 at gmail.com
--- Comment #17 from RazvanN <razvan.nitu1305 at gmail.com> ---
(In reply to Simon Naarmann from comment #16)
> 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
I don't understand what you expect to happen in this case. You are calling f
which does not have a body.
--
    
    
More information about the Digitalmars-d-bugs
mailing list