www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 613] New: Error message still states that '===' and '!==' are merely deprecated

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=613

           Summary: Error message still states that '===' and '!==' are
                    merely deprecated
           Product: D
           Version: 0.175
          Platform: All
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: smjg iname.com


----------
static assert (0 === 0);
static assert (1 !== 2);
----------
old_is.d(1): '===' is deprecated, use 'is' instead
old_is.d(2): '!==' is deprecated, use '!is' instead
----------

Deprecated?  As of DMD 0.174, it's illegal.  Because of this message, people
will think they can still compile old code using this by specifying the -d
option.  But doing this gives the same error message.


-- 
Nov 27 2006
next sibling parent Ary Manzana <ary esperanto.org.ar> writes:
d-bugmail puremagic.com escribió:
 http://d.puremagic.com/issues/show_bug.cgi?id=613
 
            Summary: Error message still states that '===' and '!==' are
                     merely deprecated
            Product: D
            Version: 0.175
           Platform: All
         OS/Version: Windows
             Status: NEW
           Keywords: diagnostic
           Severity: minor
           Priority: P2
          Component: DMD
         AssignedTo: bugzilla digitalmars.com
         ReportedBy: smjg iname.com
 
 
 ----------
 static assert (0 === 0);
 static assert (1 !== 2);
 ----------
 old_is.d(1): '===' is deprecated, use 'is' instead
 old_is.d(2): '!==' is deprecated, use '!is' instead
 ----------
 
 Deprecated?  As of DMD 0.174, it's illegal.  Because of this message, people
 will think they can still compile old code using this by specifying the -d
 option.  But doing this gives the same error message.
Should it say that an unrecognized token was detected? Or "'===' is illegal, use 'is' instead"?
Nov 27 2006
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=613


deewiant gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





Fixed in DMD 0.176.


-- 
Dec 03 2006