DMD can implicitly convert class pointer to the bool. Is it bug or terrible feature?

Walter Bright newshound2 at digitalmars.com
Sun Nov 24 11:18:21 PST 2013


On 11/24/2013 10:52 AM, ilya-stromberg wrote:
> We can allow shadowing members only for function parameters or, maybe, only for
> constructor.

We could, but at the cost of D becoming more of a mass of special cases that 
nobody can remember.



More information about the Digitalmars-d mailing list