[Issue 14232] redundant attribute 'const'

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Mar 6 05:21:31 PST 2015


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

--- Comment #13 from Martin Nowak <code at dawg.eu> ---
Thanks @dicebot.
It's this error you're triggering.
https://github.com/9rnsr/dmd/commit/1b932b9282df6ed312b6da0031417ea0d4f8faa5#diff-62dcb5f0ffc3089b7565897d8beb3322R918

At best you pass a `bool onlyWarn = false` to `appendStorageClass`, and then
pass `true` for places were it didn't previously error.

The actual error was introduced here.
https://github.com/D-Programming-Language/dmd/pull/3689

Be careful to preserve existing errors.
https://github.com/9rnsr/dmd/commit/1b932b9282df6ed312b6da0031417ea0d4f8faa5#diff-62dcb5f0ffc3089b7565897d8beb3322R503

--


More information about the Digitalmars-d-bugs mailing list