suggest: try to find the implementation of a symbol when def is used (#15555)

* suggest: try to find the implementation of a symbol when def is used

* suggest: return all declarations of the symbol on `def`
This commit is contained in:
alaviss 2020-10-14 10:08:56 -05:00 • committed by GitHub
commit c2ba4ef979
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 33 additions and 7 deletions

View file

@ -361,3 +361,7 @@ proc mydiv(a, b): int {.raises: [].} =
## Tool changes
- `nimsuggest` will now return both the forward declaration and the
implementation location upon a `def` query. Previously the behavior was
just to return the forward declaration.