[Issue 613] New: Error message still states that '===' and '!==' are merely deprecated
Ary Manzana
ary at esperanto.org.ar
Mon Nov 27 16:06:14 PST 2006
d-bugmail at 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 at digitalmars.com
> ReportedBy: smjg at 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"?
More information about the Digitalmars-d-bugs
mailing list