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

Dennis <dkor...@live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |dkor...@live.nl
         Resolution|---                         |INVALID

--- Comment #6 from Dennis <dkor...@live.nl> ---
(In reply to alexandru.ermicioi from comment #2)
> This is in .d file, and is completely clear that is a bug, since you can't
> have an unimplemented method. (...) I struggle to even understand how you 
> could implement such a method given it is a D method, not c++ one.

That's just false. Separate compilation is a thing, and functions without
bodies are not limited to `.di` files (which is just a convention) or
`extern(C++)` (which is just a different ABI and mangling scheme). See:

https://dlang.org/spec/function.html#function-declarations

--

Reply via email to