Go to definition on callable property returns two definitions
See original GitHub issueBug Report
๐ Search Terms
- go to definition
- callable
๐ Version & Regression Information
4.3.0-dev.20210316
โฏ Playground Link
Playground link with relevant code
๐ป Code
interface ICallable {
(): any
}
class K {
callable: ICallable;
}
new K().callable()
Run go to definition on callable
๐ Actual behavior
Two definitions are returned, for for K.callable
and one for (): any
in ICallable
๐ Expected behavior
Just the definition for K.callable
is returned
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Python property callable - Stack Overflow
So for example: class Book(object): def __init__(self, toc, pages): self._toc = toc self._pages = pages self.include_toc = False @property def ...
Read more >do typing tools give the Python @property decorator a magic ...
The Python @property decorator documents a form where we can define a function with @property , then refer to that function name again...
Read more >functools โ Higher-order functions and operations on callable ...
A comparison function is any callable that accepts two arguments, compares them, and returns a negative number for less-than, zero for equality,ย ...
Read more >10. Callable Instances of Classes | OOP - Python Courses eu
A callable object is an object which can be used and behaves like a function but might not be a function. By using...
Read more >Objects - Definition & Usage | AutoHotkey v2
Meta-functions define what happens when an undefined property or method is invoked. For example, if obj.unk has not been assigned a value, it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can we start to treat this as a regression please. This was clearly working for years and has degraded significantly - any
Event
member in VS Code cannot be navigated to anymore.๐