On 11/12/2018 8:28 AM, 12345swordy wrote:
The issue that I see is unintended implicit conversation when passing values to
functions that have both int and bool overloads.
The exact same thing happens when there are both int and short overloads.
The underlying issue is is bool a one bit integer type, or something special? D
defines it as a one bit integer type, fitting it into the other integer types
using exactly the same rules.
If it is to be a special type with special rules, what about the other integer
types? D has a lot of basic types :-)