Re: [heycam/webidl] Should EnforceRange be allowed on consts and return types? (#842)

> As an aside: Having to have two sibling typedefs, one with [EnforceRange] and one without it, seems bad for clarity.

In general I find the extensive use of typedefs in the Web GL specs pretty bad for clarity. They're working against the Web IDL type system, which assumes everyone will use a common vocabulary for things like `unsigned long`, instead of typedefing primitives. So it's understandable that you'll run into trouble when working in that type of situation.

-- 
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/842#issuecomment-668267003

Received on Monday, 3 August 2020 22:13:12 UTC