Thread overview
[Issue 18243] selective import + overload = private visibility
Jan 17, 2018
Seb
Jan 17, 2018
Seb
Jan 22, 2018
RazvanN
Jan 23, 2018
RazvanN
January 16, 2018
https://issues.dlang.org/show_bug.cgi?id=18243

--- Comment #1 from Răzvan Ștefănescu <rumbu@rumbu.ro> ---
See also: https://issues.dlang.org/show_bug.cgi?id=12359

--
January 17, 2018
https://issues.dlang.org/show_bug.cgi?id=18243

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |greensunny12@gmail.com
         Resolution|---                         |DUPLICATE

--- Comment #2 from Seb <greensunny12@gmail.com> ---


*** This issue has been marked as a duplicate of issue 17630 ***

--
January 17, 2018
https://issues.dlang.org/show_bug.cgi?id=18243

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |---

--- Comment #3 from Seb <greensunny12@gmail.com> ---
I'm re-opening this as its slightly different to 17630 and it's probably worthwhile to add both tests to the testsuite once this gets fixed.

--
January 22, 2018
https://issues.dlang.org/show_bug.cgi?id=18243

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305@gmail.com

--- Comment #4 from RazvanN <razvan.nitu1305@gmail.com> ---
The problem here is that overload sets do not have a protection attribute. Moreover the symbolIsVisible function in the compiler takes a symbol and then checks if the most visible overload of that particular overload set is visible. This, obviously is problematic, since in this case std.math.isNaN is found and when the check for visibility is made the public overload is considered.

--
January 23, 2018
https://issues.dlang.org/show_bug.cgi?id=18243

--- Comment #5 from RazvanN <razvan.nitu1305@gmail.com> ---
PR : https://github.com/dlang/dmd/pull/7766

--
January 25, 2018
https://issues.dlang.org/show_bug.cgi?id=18243

--- Comment #6 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/a71ede3ac0ab8320cbd191d0c8cac4de402ec585 Fix Issue 18243 - selective import + overload = private visibility

https://github.com/dlang/dmd/commit/ccbaaa14fa65c5066c832e222a14d190389e2470 Merge pull request #7766 from RazvanN7/Issue_18243

Fix Issue 18243 - selective import + overload = private visibility

--
January 25, 2018
https://issues.dlang.org/show_bug.cgi?id=18243

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--