The result of finding all references to the __init__ function is not correct #4954
Labels
bug
Something isn't working
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Environment data
Build of Visual Studio Code - Insiders: 1.84.0-insider
Build of python-insider: v2023.19.12841010
Build of pylance-insider: v2023.10.21
Code Snippet
test.py
file1.py
file2.py
Repro Steps
1.Open a new python file
2.Create a class in that python file with an init method.
3.Open two other python files
4.Import the first file in each
5.Create a variable by constructing the class in the two other files
6.Go back to the first file
7.Find all references on the init function
8.Verify it finds the same references as searching for the class name
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: