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

RazvanN <razvan.nitu1...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1...@gmail.com

--- Comment #17 from RazvanN <razvan.nitu1...@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.

--

Reply via email to