TypeAlias cannot be used as a metaclass #13334
Labels
bug
mypy got something wrong
semantic-analyzer
Problems that happen during semantic analysis
topic-metaclasses
topic-type-alias
TypeAlias and other type alias issues
Here's a quick sample of a problem:
I think that using type aliases should be allowed in metaclasses.
Why?
typeshed
, see Add missing metaclasses typeshed#8497For example, see
dataclasses.pyi
definition:The text was updated successfully, but these errors were encountered: