[Issue 19700] [2.085.0-beta.2] Obj-C wrong code overloading selectors and extern(D)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 26 20:01:29 UTC 2019


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

--- Comment #2 from Adam D. Ruppe <destructionator at gmail.com> ---
OK, I see. Well, in the mean time, at least now that I know what is causing
this, it is very easy to work around. (It was just crazy at first to narrow it
down, and since I frequently "comment" stuff with `version(none)` and that
didn't change it, I thought I was crazy when it went away.)

It is arguably bad form to include those extern(D) overloads side by side,
though it is convenient, it isn't necessary. So, a possible fix to consider
would just be to make it an error to mix extern declarations and body functions
in the same class definition (excluding inherited declarations).

--


More information about the Digitalmars-d-bugs mailing list