typing icon indicating copy to clipboard operation
typing copied to clipboard

Specify that `type[]` distributes over unions

Open InSyncWithFoo opened this issue 1 year ago • 2 comments

I think this much can be inferred, since the specs already said that:

  • type[A | B] is supported, and
  • B the class is a valid value for type[A | B]

InSyncWithFoo avatar Aug 15 '24 03:08 InSyncWithFoo

Since this is a substantive change to the spec, it should go through formal TC review. Please follow the process documented here.

erictraut avatar Aug 15 '24 03:08 erictraut