[nem-bug] [Nemerle 0000895]: Tuple's ToString method throws NullReferenceException if the tuple has a null element

feedback at nemerle.org feedback at nemerle.org
Tue Feb 13 17:54:00 CET 2007


The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=895> 
======================================================================
Reported By:                nikov
Assigned To:                nikov
======================================================================
Project:                    Nemerle
Issue ID:                   895
Category:                   The Standard Library
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             02-13-2007 17:04 CET
Last Modified:              02-13-2007 17:54 CET
======================================================================
Summary:                    Tuple's ToString method throws
NullReferenceException if the tuple has a null element
Description: 
WriteLine(("a", null : string).ToString())
======================================================================

----------------------------------------------------------------------
 nikov - 02-13-07 17:54 
----------------------------------------------------------------------
Fixed on trunk (7414).

I used method StringBuilder.Append(value : object)
It ignores null values. So ("a", null : string).ToString() now produces
"(a, )".

Issue History
Date Modified  Username       Field                    Change              
======================================================================
02-13-07 17:04 nikov          New Issue                                    
02-13-07 17:50 nikov          Status                   new => assigned     
02-13-07 17:50 nikov          Assigned To               => nikov           
02-13-07 17:54 nikov          Status                   assigned => resolved
02-13-07 17:54 nikov          Resolution               open => fixed       
02-13-07 17:54 nikov          Note Added: 0001718                          
======================================================================




More information about the bugs mailing list