Files
Nim/compiler
Jake Leahy b8fa789393 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
2023-12-04 07:15:16 +01:00
..
2023-12-02 05:28:24 +01:00
2023-11-20 21:12:13 +01:00
2023-10-29 14:47:22 +01:00
2022-09-27 10:57:47 +02:00
2017-01-07 22:35:09 +01:00
2023-12-02 05:28:24 +01:00
2023-05-06 21:27:28 +02:00
2023-11-04 17:46:59 +08:00
2021-01-12 09:36:51 +01:00
2023-12-02 05:28:24 +01:00
2022-03-23 20:34:53 +01:00
2023-07-02 22:36:05 +02:00
2023-11-06 18:33:28 +01:00
2023-12-02 05:28:24 +01:00
2023-12-02 05:28:24 +01:00
2023-10-12 23:33:38 +02:00
2023-11-20 21:12:13 +01:00

Nim Compiler

  • This directory contains the Nim compiler written in Nim.
  • Note that this code has been translated from a bootstrapping version written in Pascal.
  • So the code is not a poster child of good Nim code.

See Internals of the Nim Compiler for more information.