[Issue 6444] New: Using != to compare with null does not cause a	compiler error
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sat Aug  6 13:17:18 PDT 2011
    
    
  
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 at puremagic.com
        ReportedBy: eatingstaples at gmail.com
--- Comment #0 from eatingstaples at 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: -------
    
    
More information about the Digitalmars-d-bugs
mailing list