[Issue 17498] New: Double error message about use of private

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jun 13 11:53:35 PDT 2017


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 at puremagic.com
          Reporter: eyal at 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.

--


More information about the Digitalmars-d-bugs mailing list