http://d.puremagic.com/issues/show_bug.cgi?id=8599



--- Comment #2 from deadalnix <deadal...@gmail.com> 2012-09-02 12:55:53 PDT ---
(In reply to comment #1)
> abstract is never inferred. Why would it be inferred? Functions are only
> abstract if marked abstract.
> 
> And if a function is not abstract, then it needs a body/definition, so 
> obviousy
> it's going to fail at link time when the linker doesn't find a definition for
> it. It's perfectly legal to declare a function without giving its body as long
> as the linker has the body. That's how .di files work. It's also useful with
> stuff like version(D_Ddoc) where there is no definition and shouldn't be one.
> 
> This isn't a bug.

You are right. I'm so dumb sometime.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to