-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
addressed in next versionIssue is fixed and will appear in next published versionIssue is fixed and will appear in next published versionbugSomething isn't workingSomething isn't working
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
addressed in next versionIssue is fixed and will appear in next published versionIssue is fixed and will appear in next published versionbugSomething isn't workingSomething isn't working