[Issue 14232] redundant attribute 'const'

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Mar 5 19:33:04 PST 2015


https://issues.dlang.org/show_bug.cgi?id=14232

--- Comment #7 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
so do you mean that if some syntax was allowed by accident, it should be kept
forever, shitting compiler code with hacks over hacks trying to accept both
valid code and invalid code?

no, really, there is no single reason to accept invalid code. invalid code must
not compile. not "silently accepted", not "warned", not "deprecated".

or, taking "POV example", the bare minuimum of sanity in language is not
accepting invalid code, regardless of how much somebody wants it to stay with
us.

--


More information about the Digitalmars-d-bugs mailing list