Thread overview
[Issue 613] New: Error message still states that '===' and '!==' are merely deprecated
Nov 27, 2006
d-bugmail
Nov 28, 2006
Ary Manzana
Dec 03, 2006
d-bugmail
November 27, 2006
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.


-- 

November 28, 2006
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"?

December 03, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=613


deewiant@gmail.com changed:

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




------- Comment #2 from deewiant@gmail.com  2006-12-03 04:10 -------
Fixed in DMD 0.176.


--