You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python version (& distribution if applicable, e.g. Anaconda): irrelevant
Code Snippet
classTest:
def__init__(self):
self.ref=funcself.prop=1def__call__(self):
passdeffunc():
passobj=object()
test=Test() # "test" should colorize as an object, not a functiontest.ref# "ref" should colorize as a function, not a propertyanother_ref=test.ref# "another_ref" correctly colorizes as a function
This is a duplicate of #6924 which was fixed in 2025.2.100. Callable variables are no longer colored as functions, but rather now have a callable modifier on their semantic tokens.
Environment data
2025.1.100
(prerelease)Code Snippet
Repro Steps
Logs
The text was updated successfully, but these errors were encountered: