http://d.puremagic.com/issues/show_bug.cgi?id=5621

           Summary: speller.c: enhancement request
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: ibuc...@ubuntu.com


--- Comment #0 from Iain Buclaw <ibuc...@ubuntu.com> 2011-02-20 08:29:52 PST ---
The current implementation of the spell checker (as far as I can tell) always
finds the nearest match to the incorrectly spelled symbol.

So the following example:

struct S2 {}
struct S10 {}

void main()
{
    S10 a = S();
}


Will emit the error:
spell.d(6): Error: undefined identifier S, did you mean struct S2?


Whereas it would be an improvement in these cases if it were to suggest the lhs
type instead.

Regards

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to