Pylance is incorrectly assigning my class's setter/getter properties as variable tokens instead of function tokens and its breaking syntax highlighting #6576
Labels
needs repro
Issue has not been reproduced yet
Environment data
Code Snippet
Repro
Expected behavior
Function
x
under@property
should be yellowFunction
x
under@x.setter
should be yellowDecorator
x
withinx.setter
should be greenActual behavior
Logs
Function and decorator
x
are being tokenized the same as a variableOther extensions
Tested with no other extensions, only
Python
+Pylance
The text was updated successfully, but these errors were encountered: