Summary: speller.c: enhancement request
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Iain Buclaw <> 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.


Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to