Bugs: Browse | Submit New | Admin

[#13565] Comparing value types with null

Date:
2007-09-01 04:39
Priority:
3
Submitted By:
Sanghyeon Seo (sanxiyn)
Assigned To:
John Messerly (jmesserly)
Category:
None
State:
Closed
Summary:
Comparing value types with null

Detailed description
Comparing value types with null is evil and eats babies.
http://tirania.org/blog/archive/2007/Mar-13-1.html

Such comparison is present in Ruby.Compiler.AST.AliasStatement.cs.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2007-09-03 03:24
Sender: John Messerly

Thanks Seo. I removed the useless Debug.Assert that was comparing
SymbolId to null.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2007-09-03 03:24jmesserly
resolution_idNone2007-09-03 03:24jmesserly
assigned_tonone2007-09-03 03:24jmesserly
close_date2007-09-03 03:242007-09-03 03:24jmesserly