[Issue 20638] New: spelling correction offers private member of package on named package access
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Thu Mar  5 13:10:40 UTC 2020
    
    
  
https://issues.dlang.org/show_bug.cgi?id=20638
          Issue ID: 20638
           Summary: spelling correction offers private member of package
                    on named package access
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: default_357-line at yahoo.de
See #5839, #20637.
Repro:
a.d:
private void foo() { }
b.d:
import a;
void main() { a.foo; }
Expected:
b.d(2): Error: undefined identifier foo in module a
Got:
b.d(2): Error: undefined identifier foo in module a, did you mean function foo?
--
    
    
More information about the Digitalmars-d-bugs
mailing list