[ty] Detect invalid attempts to subclass Protocol[] and Generic[] simultaneously
#22948
Loading
Protocol[] and Generic[] simultaneously
#22948