[Issue 19441] alias this causes partial assignment

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 30 02:02:32 UTC 2019


--- Comment #7 from Stefan Koch <uplink.coder at gmail.com> ---
Eyal, I guess you could make it such that you error out if alias-this ever
conflicts with anything.
Which would be a solution that properly fixes unwanted overload-stealing.

However that'll break a lot of code, then again perhaps that is a good thing.
I'd just ask for a spec change to clearify this.

To answer your question:

I don't remember the usecase anymore, which required alias-this to work the way
it does, it might be a misconception on my part.


More information about the Digitalmars-d-bugs mailing list