digitalmars.D.bugs - [Issue 6444] New: Using != to compare with null does not cause a compiler error
- d-bugmail puremagic.com (20/20) Aug 06 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6444
- d-bugmail puremagic.com (12/12) Jan 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6444
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: -------
Aug 06 2011
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: -------
Jan 29 2012