- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 07 Dec 2018 05:18:46 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 7 December 2018 13:19:08 UTC
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