#4986·pyrefly

Missing hover on attribute assignment in __init__

Author: trashpanCreated Sep 19, 2026Updated Sep 21, 2026
Labelslanguage-server

Describe the Bug

Hover on the LHS of self.name = name (line 3) shows "No information available", while hovering on name on the RHS works fine. This is the attribute-access variant of #918, which was fixed for local variables but not for self.attr targets.

Sandbox Link

https://pyrefly.org/sandbox/?project=v2.pVQxCsMwDPyKwIOXUu19RR7QwaExSRcrxG7p83uS20ACzpJJICQh3emuZZlVKh1OkdRWihJmmmuqRCuwuAVylIQmdS4CPmEtCBeKnxlYxAHZsgS7b4euo64m6LcofAW0jC-4F-C-3pODcUWaSpnzjfnfLsvIMfEgj8ybDiZ9pP7dP80Tt-NI7Bsyxp6h1VdW_RGpXjlFxSFPXw

(Only applicable for extension issues) IDE Information

No response