[Issue 7482] deprecation isn't checked inside forward referenced is(typeof())

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 11 16:21:51 PST 2012


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


Stewart Gordon <smjg at iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |spec
                 CC|                            |smjg at iname.com
             Blocks|                            |340


--- Comment #1 from Stewart Gordon <smjg at iname.com> 2012-02-11 16:21:47 PST ---
I'm not sure what's meant to happen here.  Z still exists, even if it's
deprecated.  But by deprecating it, we are basically telling the compiler to
treat it as if it doesn't exist.

This is a difficult case, because to treat deprecated stuff as nonexistent in
IsExpressions causes the program to compile and behave differently depending on
whether the compiler switch to enable deprecated features is switched on or
not.

If the correct behaviour is given anywhere in the spec, I haven't managed to
find it.

-- 
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