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

feedback at nemerle.org feedback at nemerle.org
Sat Dec 9 21:40:32 CET 2006


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=807> 
======================================================================
Reported By:                Evin Robertson
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   807
Category:                   Compiler
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             12-09-2006 21:40 CET
Last Modified:              12-09-2006 21:40 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.

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

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               
    
======================================================================




More information about the bugs mailing list