Re: [heycam/webidl] Type association restrictions for extended attributes break with unions (#827)

My intuition is similar to that of @domenic, FWIW.

The nullable variant is interesting though, i.e., is ```[AllowShared] Uint8Array?``` okay? I don't have any use cases for it at the moment, but it seems like that has to work as you cannot write `([AllowShared] Uint8Array or null)`.

(Aside: now that we have unions maybe `or null` is a better syntax.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/827#issuecomment-565129334

Received on Thursday, 12 December 2019 18:34:03 UTC