[Issue 3396] Call of abstract method not detected by semantic check

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Aug 11 10:04:44 PDT 2014


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

--- Comment #10 from yebblies <yebblies at gmail.com> ---
(In reply to Orvid King from comment #9)
> Isn't it still reasonable for DMD to at least catch this error at
> compile-time 
> rather than link-time if the module containing class A was passed on the 
> command line, and thus is one of those being compiled, and not an interface?

The compiler cannot tell the difference between d files and di files...  And
technically you're allowed to put the implementation in a library, implement it
in asm, etc

--


More information about the Digitalmars-d-bugs mailing list