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

I think it actually makes sense to not allow overloading/union BigInt with any other IDL numeric type as that allows for (maybe even encourages) the kind of APIs TC39 doesn't want. Where the API silently does BigInt(arg) if you pass it a non-BigInt after crossing the IDL boundary.

I'm also not sure why we'd support coercing string to BigInt, I think it makes sense to throw there as well.

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

Received on Wednesday, 5 December 2018 08:41:52 UTC