Open Moosieus opened 2 months ago
I'll check on the test failure :mag_right:
Go-to-definition supports multiple results, so we could just show all arities and let users select one of them, rather than resolving to any specific one. If that's not preferable though, we can resolve to the lowest arity definition.
LMK what you think and I'll amend things accordingly.
Found this behavior which applies to main branch as well. Public calls to non-existent arities can jump to privately defined arities. Screencast from 2024-08-03 23-24-56.webm
This comes from both Lexical's existing ("exact") lookup, and elixir_sense. At the moment, I've filtered out private definitions for public calls on Lexical's lookup ("exact" + "nearest arity"), and left elixir_sense as-is.
Pursuant to #780