www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20637] New: spelling correction offers private members

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

          Issue ID: 20637
           Summary: spelling correction offers private members
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: default_357-line yahoo.de

Repro:

a.d:
class A { private static void foo() { } }
b.d:
import a;
void main() { A.foo; }

`dmd a.d b.d` outputs:

 b.d(3): Error: no property foo for type a.A, did you mean a.A.foo?
DMD should not report inaccessible private members as spelling corrections. --
Mar 05 2020