Thread overview
[Issue 18951] static package masked by static public in class
Jun 06, 2018
FeepingCreature
[Issue 18951] package static method masked by public static method in class
Jun 06, 2018
FeepingCreature
Jun 06, 2018
Mike Franklin
June 06, 2018
https://issues.dlang.org/show_bug.cgi?id=18951

FeepingCreature <default_357-line@yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal

--
June 06, 2018
https://issues.dlang.org/show_bug.cgi?id=18951

FeepingCreature <default_357-line@yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|static package masked by    |package static method
                   |static public in class      |masked by public static
                   |                            |method in class

--
June 06, 2018
https://issues.dlang.org/show_bug.cgi?id=18951

Mike Franklin <slavo5150@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |slavo5150@yahoo.com

--- Comment #1 from Mike Franklin <slavo5150@yahoo.com> ---
PR:  https://github.com/dlang/dmd/pull/8338

--
June 08, 2018
https://issues.dlang.org/show_bug.cgi?id=18951

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

https://github.com/dlang/dmd/commit/3c8788053d0fab4195ad442df184ddfc33065f1a
Fix Issue 18951.
When selecting the "most-visible" overload method to check access,
treat package methods as public if they're visible; otherwise, private.
This avoids package methods that are perfectly visible being passed over
in favor of public (numerically more visible) overloads appearing later
in the class.

https://github.com/dlang/dmd/commit/5f3b12bcda64046712d7fdb89772cbad63fdc79b Merge pull request #8338 from FeepingCreature/fix/Issue_18951

Fix Issue 18951 - package static method masked by public static method in class merged-on-behalf-of: Razvan Nitu <RazvanN7@users.noreply.github.com>

--
June 08, 2018
https://issues.dlang.org/show_bug.cgi?id=18951

github-bugzilla@puremagic.com changed:

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

--