fix #2844 #3911; add --spellsuggest to suggest symbols in scope with similar spellings on undefined symbol error (#16067)
* add --spellsuggest to suggest symbols in scope with similar spellings on undefined symbol errors * implement --spellsuggest with 0 arguments
This commit is contained in:
parent
d5eb658034
commit
48eab5370a
9 changed files with 178 additions and 32 deletions
7
tests/misc/mspellsuggest.nim
Normal file
7
tests/misc/mspellsuggest.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
proc fooBar4*(a: int) = discard
|
||||
var fooBar9* = 0
|
||||
|
||||
var fooCar* = 0
|
||||
type FooBar* = int
|
||||
type FooCar* = int
|
||||
type GooBa* = int
|
||||
Loading…
Add table
Add a link
Reference in a new issue