Closed
Description
openedon Jan 29, 2024
Describe the bug
In previous versions of pyright the below code didn't have any type errors.
class Base(Protocol):
def get_data(self):
...
class MyMixin:
def get(self: Base):
self.get_data()
super().get_data()
But at least since v1.1.348 (and also the current v1.1.348) the last line (super().get_data()
) leads to the error (as mentioned in the discussions):
error: Method "get_data" cannot be called because it is abstract and unimplemented (reportAbstractUsage)
VS Code extension or command-line
Currently running Pyright v1.1.349 from the command line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment