On Mon, Aug 18, 2014 at 06:46:02AM +0000, bearophile via Digitalmars-d-learn 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. [...]
Is there a bug filed for this? T -- Век живи - век учись. А дураком помрёшь.