Pyright returning two records for the same line #10525
Unanswered
Tanner Wilcox (twiclo)
asked this question in
Q&A
Replies: 1 comment 8 replies
|
The code sample you've provided references a bunch of symbols that are not defined, so it's difficult to provide a specific answer. However, it's not uncommon for "go to definition" to return multiple results. For example, a symbol could represent a property that has both a getter and a setter. Or it could be a function with multiple overloads. The language server protocol calls for a language server to return all declarations that correspond to the symbol. |
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm running pyright in neovim. The latest version. When I run "go to definition" on
self.replyit returns two results to the same lineAny ideas would be appreciated
All reactions