[Issue 15907] Unjustified "is not visible from module" deprecation warning when using getMember trait

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Aug 29 10:36:36 PDT 2016


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

--- Comment #7 from github-bugzilla at puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/f899b4b59620e354b6ba0acfe843efb559202cd8
fix Issue 15907 - unjustified deprecation with getMember

- fixed by changing the semantics of allMembers and derivedMembers to
  respect visibility
- even though the private members were listed before, they haven't been
  accessible
- it's possible to mixin a template in order to use it with
  private symbols (example given in changelog)
- fixed ice10598 test b/c it was relying on the presence of the private
  object import

https://github.com/dlang/dmd/commit/49cb97213303c902844b7189ced1cf8833214437
Merge pull request #6078 from MartinNowak/fix15907

fix Issue 15907 - unjustified deprecation with getMember

--


More information about the Digitalmars-d-bugs mailing list