Thread overview
[Issue 12359] implicit overload merging with selective imports should be removed
Apr 10, 2014
Walter Bright
Apr 10, 2014
Walter Bright
Apr 16, 2014
Kenji Hara
Apr 11, 2015
Martin Nowak
Aug 22, 2022
RazvanN
April 10, 2014
https://issues.dlang.org/show_bug.cgi?id=12359

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #12 from Walter Bright <bugzilla@digitalmars.com> ---
Also posted on https://github.com/D-Programming-Language/dmd/pull/3416 :

I just don't see much justification for such a wholesale reengineering of how imports work. The current rules have been in place for a very long time, and likely a whole lot of code relies on it. The new behavior doesn't seem particularly better - just different.

--
April 10, 2014
https://issues.dlang.org/show_bug.cgi?id=12359

--- Comment #13 from Walter Bright <bugzilla@digitalmars.com> ---
Also posted on https://github.com/D-Programming-Language/dmd/pull/3416 :

I just don't see much justification for such a wholesale reengineering of how imports work. The current rules have been in place for a very long time, and likely a whole lot of code relies on it. The new behavior doesn't seem particularly better - just different.

--
April 16, 2014
https://issues.dlang.org/show_bug.cgi?id=12359

--- Comment #14 from Kenji Hara <k.hara.pg@gmail.com> ---
See also issue 8667.

--
April 11, 2015
https://issues.dlang.org/show_bug.cgi?id=12359

Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh@gmail.com

--- Comment #15 from Martin Nowak <code@dawg.eu> ---
*** Issue 8667 has been marked as a duplicate of this issue. ***

--
January 06, 2016
https://issues.dlang.org/show_bug.cgi?id=12359

--- Comment #16 from github-bugzilla@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/8e38e62485809d40413278773afeb83c17974c4c Merge pull request #3853 from 9rnsr/fix12359

Fix for issue 12359

--
March 19, 2016
https://issues.dlang.org/show_bug.cgi?id=12359

--- Comment #17 from github-bugzilla@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/8e38e62485809d40413278773afeb83c17974c4c Merge pull request #3853 from 9rnsr/fix12359

--
August 22, 2022
https://issues.dlang.org/show_bug.cgi?id=12359

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305@gmail.com
         Resolution|---                         |WONTFIX

--- Comment #18 from RazvanN <razvan.nitu1305@gmail.com> ---
In the meantime doing selective imports doing overload sets merging has become the norm. Changing this will likely break a lot of code and surprise people that are already accustomed to this rule. I, personally, don't see anything wrong with doing the overload set merge automatically. If you don't want that just don't selective import the symbol.

--