Failed to resolve the boundary type in a PEP 695 new style definition #17347
Labels
bug
mypy got something wrong
topic-pep-695
Issues related to PEP 695 syntax
topic-protocols
topic-recursive-types
The following code:
Fails with:
Pyright seems to accept it with no issue and python itself doesn't complain or raise any exception when this definition is loaded at runtime.
This is with the current head version from github with default configuration, no command line switches and with
# mypy: enable-incomplete-feature=NewGenericSyntax
being used in the file where this is defined.
The text was updated successfully, but these errors were encountered: