Re: [heycam/webidl] Add bigint type (#525)

Well, `Intl.NumberFormat.prototype.format`, per "jsidl".

We also have a case that shows that allowing a union/overload will likely lead to APIs with implicit coercion of Number to BigInt, which is something TC39 does not want, as far as I know: https://github.com/WebAssembly/JS-BigInt-integration/issues/12.


I don't think there's a way to enforce the difference through IDL. I guess you could try something along the lines of that when there's a union, the corresponding algorithm cannot contain a Number to BigInt operation, but try enforcing that realistically …

-- 
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/pull/525#issuecomment-552547256

Received on Monday, 11 November 2019 17:56:29 UTC