digitalmars.D.bugs - [Issue 13736] New: Spellchecker should prefer symbols from inner
- via Digitalmars-d-bugs (29/29) Nov 15 2014 https://issues.dlang.org/show_bug.cgi?id=13736
https://issues.dlang.org/show_bug.cgi?id=13736 Issue ID: 13736 Summary: Spellchecker should prefer symbols from inner scopes Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Keywords: diagnostic Severity: enhancement Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: r.sagitario gmx.de Compiling this code: ////////////////// import std.format; int cor1; void main() { cor2 = 2; } ////////////////// produces error: Error: undefined identifier cor2, did you mean import core? The symbol "core" is private in the std.format import and should not be even considered (see issue 5839). Even if it were public, "cor1" should be proposed as it is more likely meant. --
Nov 15 2014