False-positive for functools.cache decorated methods #2578
Labels
addressed in next version
Issue is fixed and will appear in next published version
bug
Something isn't working
Describe the bug
pyright
marks methods wrapped withfunctools.cache
/functools.lru_cache
decorator calls aserror: Argument missing for parameter "self"
. Functions are not affected, only methods.This bug was introduced in
1.1.187
.1.1.186
is not affected.To Reproduce
Run
pyright
on this sample:Expected behavior
No error
VS Code extension or command-line
Command line with
pyright 1.1.187
.The text was updated successfully, but these errors were encountered: