redundant storage class 'const

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Sat Jul 5 15:39:23 PDT 2014


Paul D Anderson:

> The fourth (with multiple 'const' suffixed) does not generate 
> an error. This looks like a bug to me. Is it?

The situation with accepting or not accepting those tags attached 
to functions is a terrible mess since several years, at 
ridiculous levels. Fixing that mess will cause lot of D code to 
break, assuming someone someday will want to fix that awful mess, 
but I can't assume that any more.

Look at this Issue 
https://d.puremagic.com/issues/show_bug.cgi?id=3934 for some 
humorous examples fit more for the Monty Python and the Flying 
Circus than a serious language.

Bye,
bearophile


More information about the Digitalmars-d mailing list