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

I thought the infix arithmetic operations were not overloaded? Beyond valueOf() that is?

I'd like to disallow
```webidl
a(double x);
a(BigInt x);
b((double or BigInt) x);
```
as per my understanding we don't want implicit `BigInt(x)`. However, if we have
```webidl
c(BigInt x);
```
and that does `ToNumber()` first for `valueOf()` similar to the infix arithmetic operations I think that'd be fine and nicely consistent.

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

Received on Friday, 7 December 2018 13:19:08 UTC