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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Aug 11 15:20:02 PDT 2014


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

--- Comment #11 from Stewart Gordon <smjg at iname.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?

This would break tools such as bud.

(In reply to yebblies from comment #10)
> The compiler cannot tell the difference between d files and di files...

How do you mean, the compiler can't know the filename extension of the file
passed into it?

--


More information about the Digitalmars-d-bugs mailing list