Everything comes to this...
Why "3" is an int?
Why "0.3 is a double?

I guess these constraints was there before generic coding comes out, and we are just stuck with it! If these sound so naive, sorry about it, I don't know compiler/language history.

Thanks!

On Sun, 28 Mar 2010 12:29:17 +0400, bearophile <[email protected]> wrote:

so:

With one exception yes, i want all 3 test pass with your fix to implicit
cast.
You know, we are trying to write generic code.

I don't understand your problem/needs, sorry.

Bye,
bearophile


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Reply via email to