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

ilya-stromberg ilya-stromberg-2009 at yandex.ru
Tue Nov 26 02:43:55 PST 2013


On Tuesday, 26 November 2013 at 09:25:56 UTC, bearophile wrote:
> While a lint is useful for some purposes (like verifying the D 
> code doesn't have logically wrong indentations), there are some 
> things that are probably better addressed in the language.

So, we have a few suggestions in this thread like:
1) disable shadowing class members
2) disable shadowing global variables
3) enforce using `.` before global variables

What our next step? Shall we add Bugzilla issue or something else?


More information about the Digitalmars-d mailing list