- From: Darien Maillet Valentine <notifications@github.com>
- Date: Wed, 13 Oct 2021 09:25:41 -0700
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 13 October 2021 16:25:53 UTC
Given the description of consts says: > The type of a constant (matching ConstType) must not be any type other than a primitive type. If an identifier is used, it must reference a typedef whose type is a primitive type. What is the purpose of these changes with regard to consts? There are more types which cannot be the type of a constant (object, symbol, DOMString, ByteString, USVString, FrozenArray, ObservableArray, ArrayBuffer, DataView, Int32Array, ...) than the handful to which the new "can't be used as..." text is added. What is the distinction being made? -- 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/pull/940#issuecomment-942474897
Received on Wednesday, 13 October 2021 16:25:53 UTC