On 4/26/2013 1:14 AM, Maxim Fomin wrote:
I argue the correct solution is to call integer function with integer parameter
when integer value is passed.

I'm sorry, but that's an assertion not an argument.

The other issue with your assertion, as I explained to Ali, is that D does not have a notion of "better" implicit conversions, and it would be a tragedy to add them.

Adjusting to buggy compiler behavior isn't a good idea.

It's working as designed - it is not a compiler bug.

Reply via email to