mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 09:54:49 +00:00
Currently the documentation isn't shown when running `def` on the definition of a proc (Which works for things like variables). `gcsafe`/`noSideEffects` status also isn't showing up when running `def` on the definition Images of current behavior. After PR both look like "Usage" **Definition**  **Usage**  Issue was the symbol getting passed too early to nimsuggest so it didn't have all that info, now gets passed once proc is fully semmed
9 lines
155 B
Nim
9 lines
155 B
Nim
discard """
|
|
$nimsuggest --tester $file
|
|
>sug $1
|
|
sug;;skProc;;tsug_recursive.fooBar;;proc ();;$file;;7;;5;;"";;100;;Prefix
|
|
"""
|
|
|
|
proc fooBar() =
|
|
fooBa#[!]#
|