[nem-bug] [Nemerle 0000665]: Return type of local generic method is
not inferred
feedback at nemerle.org
feedback at nemerle.org
Sun May 7 21:47:39 CEST 2006
The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=665>
======================================================================
Reported By: nazgul
Assigned To:
======================================================================
Project: Nemerle
Issue ID: 665
Category: Compiler
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 05-07-2006 21:47 CEST
Last Modified: 05-07-2006 21:47 CEST
======================================================================
Summary: Return type of local generic method is not inferred
Description:
def merge ['a] (a : list[list['a]], b : list[list['a]]) {
| (x :: xs, y ::ys) => (x + y) :: merge (xs, ys)
| ([], []) => []
| _ => throw System.Exception ("")
}
_ = merge ([], []);
_ = merge ([[1]], [[2]]);
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
05-07-06 21:47 nazgul New Issue
======================================================================
More information about the bugs
mailing list