February 20, 2011 [Issue 5621] New: speller.c: enhancement request | ||||
---|---|---|---|---|
| ||||
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: nobody@puremagic.com ReportedBy: ibuclaw@ubuntu.com --- Comment #0 from Iain Buclaw <ibuclaw@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: ------- |
March 04, 2011 [Issue 5621] speller.c: enhancement request | ||||
---|---|---|---|---|
| ||||
Posted in reply to Iain Buclaw | http://d.puremagic.com/issues/show_bug.cgi?id=5621 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com Severity|normal |enhancement --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2011-03-03 16:08:00 PST --- Implementing this would be difficult as it requires top-down type inference, whereas the semantic analysis is all done bottom-up. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation