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

That seems fine for this case (and let's assert for it in IDL). (I think sometimes coercion or some flexibility around types makes sense, but I agree that for clearly erroneous cases it would be better to assert.)

-- 
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-584612934

Received on Tuesday, 11 February 2020 12:32:26 UTC