[Issue 17748] extern(C) do nothing on struct methods

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 16 13:44:24 UTC 2017


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

--- Comment #4 from kinke at gmx.net ---
(In reply to RazvanN from comment #3)
> In my opinion, this is the correct behavior, since it is not the
> compiler's job to check the correctness of a code which is not D code.

I strongly disagree. It *is* D code, otherwise it wouldn't be fed to the D
compiler. Doesn't matter whether it's defined in D or somewhere external, a
declaration in D suffices.

--


More information about the Digitalmars-d-bugs mailing list