pyrefly icon indicating copy to clipboard operation
pyrefly copied to clipboard

go-to definition on constructor calls

Open kinto0 opened this issue 3 months ago • 0 comments

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

kinto0 avatar Dec 01 '25 17:12 kinto0