summary refs log tree commit diff stats
path: root/tests/iter/treciter.nim
diff options
context:
space:
mode:
authorJake Leahy <jake@leahy.dev>2023-12-04 17:15:16 +1100
committerGitHub <noreply@github.com>2023-12-04 07:15:16 +0100
commitb8fa78939398397f557dbae1c905800850829e29 (patch)
treef399e9c5cbcb9897f5e71556f7d577ffd871d13a /tests/iter/treciter.nim
parentd5780a3e4ee9f2275a5253c55525ce5ead89efb2 (diff)
downloadNim-b8fa78939398397f557dbae1c905800850829e29.tar.gz
Fix nimsuggest `def` being different on proc definition/use (#23025)
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**

![image](https://github.com/nim-lang/Nim/assets/19339842/bf75ff0b-9a96-49e5-bf8a-d2c503efa784)
**Usage**

![image](https://github.com/nim-lang/Nim/assets/19339842/15ea3ebf-64e1-48f5-9233-22605183825f)


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
Diffstat (limited to 'tests/iter/treciter.nim')
0 files changed, 0 insertions, 0 deletions