pyrefly
pyrefly copied to clipboard
go-to definition on constructor calls
Describe the Bug
currently, we can find-references on constructor calls.
but hovering / clicking a constructor goes to / displays the type definition, not the constructor function.
see D87102818 for an implementation. however, performance might be an issue since it requires solving solutions. we need to make sure it returns early in case the index is not build yet.
Sandbox Link
No response
(Only applicable for extension issues) IDE Information
No response