On Monday, 18 August 2014 at 06:46:03 UTC, bearophile wrote:
ketmar:other function declarations (methods, nested functions) accepts 'static', so why free functions shouldn't?For various reasons, one of them is that accepting useless code confuses newbies and doesn't allow them to build a correct model of the D semantics in their head.Bye, bearophile
Agreed. I was misled for a minute. I don't think it should compile.