mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 09:54:49 +00:00
* suggest: try to find the implementation of a symbol when def is used * suggest: return all declarations of the symbol on `def`
14 lines
264 B
Nim
14 lines
264 B
Nim
discard """
|
|
$nimsuggest --tester $file
|
|
>def $1
|
|
def;;skProc;;tdef_forward.hello;;proc (): string;;$file;;8;;5;;"";;100
|
|
def;;skProc;;tdef_forward.hello;;proc (): string;;$file;;12;;5;;"";;100
|
|
"""
|
|
|
|
proc hello(): string
|
|
|
|
hel#[!]#lo()
|
|
|
|
proc hello(): string =
|
|
"Hello"
|