On Mon, 11 Aug 2014 17:30:42 -0700
"H. S. Teoh via Digitalmars-d" <[email protected]> wrote:

> One possible hack is to make is(typeof(...)) return true for
> deprecated symbols if compiling with -d, but that would mean changing
> language semantics with compiler flags, which Walter frowns on.
to me that seems like a good solution. people are expected to rewrite
the code that using deprecated features, yet if compiler happily
compiles deprecated code by default -- why bother?

compiler may suggest to use something like "-allow-deprecated-code" in
error messages, but reject such code by default.

such code will break anyway, so let it break early!

Attachment: signature.asc
Description: PGP signature

Reply via email to