Thread overview | |||||
---|---|---|---|---|---|
|
November 27, 2006 [Issue 613] New: Error message still states that '===' and '!==' are merely deprecated | ||||
---|---|---|---|---|
| ||||
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 Re: [Issue 613] New: Error message still states that '===' and '!==' are merely deprecated | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | 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 [Issue 613] Error message still states that '===' and '!==' are merely deprecated | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | 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. -- |
Copyright © 1999-2021 by the D Language Foundation