generic class with single constructor input can be inferred as a distributed union #1023
Labels
type checking / linting
issues relating to existing diagnostic rules or proposals for new diagnostic rules
playground
the value here could be safely inferred as
A[int] | A[str]
, as there is only one input valueThe text was updated successfully, but these errors were encountered: