pyrefly icon indicating copy to clipboard operation
pyrefly copied to clipboard

Find references on Class attributes doesn't work

Open lolpack opened this issue 8 months ago • 0 comments

Describe the Bug

Sample code

class MyClass:
    attribute = 5
    
    def method(self):
        return self.attribute

obj = MyClass()
print(obj.attribute)

Right click on "attribute" and click Find all references. No references found.

This is blocking rename @SamChou19815

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

lolpack avatar May 19 '25 02:05 lolpack