March 05, 2020 [Issue 20638] New: spelling correction offers private member of package on named package access | ||||
|---|---|---|---|---|
| ||||
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@puremagic.com Reporter: default_357-line@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? -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply