www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17498] New: Double error message about use of private

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

          Issue ID: 17498
           Summary: Double error message about use of private
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: eyal weka.io

When module b tries to use a private member f of module a, dmd complains
thusly:

b.d: Deprecation: a.f is not visible from module b
b.d: Error: function a.f is not accessible from module b

The deprecation is not needed in this case.

--
Jun 13 2017