[nem-bug] [Nemerle 0000807]: GetHashCode in DecisionTree can throw OverflowException

feedback at nemerle.org feedback at nemerle.org
Sat Dec 9 21:59:22 CET 2006


The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=807> 
======================================================================
Reported By:                Evin Robertson
Assigned To:                malekith
======================================================================
Project:                    Nemerle
Issue ID:                   807
Category:                   Compiler
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             12-09-2006 21:40 CET
Last Modified:              12-09-2006 21:59 CET
======================================================================
Summary:                    GetHashCode in DecisionTree can throw
OverflowException
Description: 
GetHashCode should use unchecked context when performing operations that
can overflow.  I had DecisionTree.GetHashCode throw an exception for me,
and it looks like Path.GetHashCode could throw as well.

Attached is a patch to correct this.

======================================================================

----------------------------------------------------------------------
 malekith - 12-09-06 21:59 
----------------------------------------------------------------------
Great thanks! Patch applied on trunk r7075.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-09-06 21:40 Evin Robertson New Issue                                    
12-09-06 21:40 Evin Robertson File Added: uncheckedHashCode.patch               
    
12-09-06 21:59 malekith       Status                   new => resolved     
12-09-06 21:59 malekith       Resolution               open => fixed       
12-09-06 21:59 malekith       Assigned To               => malekith        
12-09-06 21:59 malekith       Note Added: 0001573                          
======================================================================




More information about the bugs mailing list