Re: [whatwg/webidl] ObservableArray is in DistinguishableType production but is not in distinguishable table (#999)

And per https://webidl.spec.whatwg.org/#idl-observable-array
> Observable array types must only be used as the type of regular attributes defined on an interface

so it is disallowed to be an inner type of sequence, record, FrozenArray, and Promise.

If we could make ObservableArray not a `DistinguishableType`, but maybe a separate type just for regular attributes, we could handle the restriction in grammar level, which could make the parser implementation a bit simpler.

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

Received on Monday, 18 October 2021 19:23:02 UTC