[Issue 10150] Prefix method 'this' qualifiers should be just ignored anytime

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 30 11:56:57 PDT 2013


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



--- Comment #13 from monarchdodra at gmail.com 2013-06-30 11:56:57 PDT ---
(In reply to comment #12)
> (In reply to comment #4)
> > I disagree with this change, this is extremely dangerous behavior when
> > interfacing with C. Take a look at the following:
> > 
> > [...]

Sorry for the empty post, my finger slipped on "commit".

I just wanted to add that when C code is copy pasted and *compiles* in D, then
the rules say it *must* create the same results during runtime: This is not a
problem here, because it *should* still produce the same actual results.

However, it is largely *expected* that the C code will have the same meaning
and/or semantic, in the one in D.

Given that this is not the case, then things should be changed to either mean
the same thing (IMO bad idea), or emit a compile time error.

The middle ground is an extremely dangerous place to stand.

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


More information about the Digitalmars-d-bugs mailing list