Re: [whatwg/webidl] FrozenArray<SomeDictionary> seems like a bad idea. (Issue #1243)

I think `FrozenArray<>` has its place. It's the clearly-correct choice for something that cannot ever change after creation. Its name seems very on-point to me.

I agree that you should not be able to put by-value types inside FrozenArrays. I think we should at least copy over the existing statement for ObservableArray, and probably expand it to annotated or nullable types with those as inner types.

I don't understand why we'd restrict promises from being held by these types.

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

Message ID: <whatwg/webidl/issues/1243/1350230605@github.com>

Received on Wednesday, 14 December 2022 01:47:49 UTC