[Issue 19441] alias this causes partial assignment

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 30 00:09:15 UTC 2019


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

Stefan Koch <uplink.coder at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uplink.coder at gmail.com

--- Comment #5 from Stefan Koch <uplink.coder at gmail.com> ---
(In reply to Andrei Alexandrescu from comment #4)
> Great you guys. I think it's best to qualify this as an wrong-code bug so we
> don't go through a deprecation cycle. OK?

What No?
That's changing semantics!

Comparison behaves the same.
I agree that this is annoying.
But for alias-this to work functions and fields which match the alias-this have
priority.

--


More information about the Digitalmars-d-bugs mailing list