[Issue 21726] Wrong comparison in package(...) visibilities

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 18 08:25:01 UTC 2021


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

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

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #12282 "fix Issue 21726 - Wrong comparison in
package(...) visibilities" was merged into master:

- 35558cc21178142be008a82b8c41157e7337afb4 by Iain Buclaw:
  fix Issue 21726 - Wrong comparison in package(...) visibilities

  For the purpose of creating a new scope, it makes no sense to let the
  most restrictive package attributes override any other nested visibility
  attributes.  As there is no other use of isSubsetOf(), the entire
  function has been removed.

https://github.com/dlang/dmd/pull/12282

--


More information about the Digitalmars-d-bugs mailing list