[Issue 9289] Deprecated language features should be warn too when errors are normally silented

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 4 02:57:19 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9289



--- Comment #19 from Don <clugdbug at yahoo.com.au> 2013-02-04 02:57:16 PST ---
Currently, 

is(typeof(  xxxx )) NEVER, EVER produces an error message, no matter what xxxx
is.

You can put any kind of nonsense operation in there, and it will still compile,
and return false.


This change would create a horrific special case:

is(typeof(  xxxx )) never produces an error message, no matter what xxxx is,
unless xxxx happened to be legal in an ancient version of DMD but is not legal
in current DMD.

This is a killer for generic code.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list