August 06, 2011 [Issue 6444] New: Using != to compare with null does not cause a compiler error | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6444 Summary: Using != to compare with null does not cause a compiler error Product: D Version: D2 Platform: x86_64 OS/Version: Windows Status: NEW Severity: minor Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: eatingstaples@gmail.com --- Comment #0 from eatingstaples@gmail.com 2011-08-06 13:17:17 PDT --- When using the == operator to compare a class reference to null, the compiler gives an error, telling the programmer to use the "is" operator instead. However, using the != operator fails to generate a similar message. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 30, 2012 [Issue 6444] Using != to compare with null does not cause a compiler error | ||||
---|---|---|---|---|
| ||||
Posted in reply to eatingstaples@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=6444 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies@gmail.com Resolution| |DUPLICATE --- Comment #1 from yebblies <yebblies@gmail.com> 2012-01-30 14:56:40 EST --- *** This issue has been marked as a duplicate of issue 1896 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation