[nem-bug] [Nemerle 0000823]: wrong error message for when( fun_returning_string ) ;

feedback at nemerle.org feedback at nemerle.org
Sat Jan 13 12:32:20 CET 2007


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=823> 
======================================================================
Reported By:                Luntain
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   823
Category:                   Compiler
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             01-13-2007 12:32 CET
Last Modified:              01-13-2007 12:32 CET
======================================================================
Summary:                    wrong error message for when( fun_returning_string )
;
Description: 
def f(): string
        ""
when(f())
   ()

causes 

15:5:15:9:
&http://nemerle.org/bugs/view.php?id=8592;[01;31merror&http://nemerle.org/bugs/view.php?id=8592;[0m:
expected string, got bool in
matched value: the types bool and string are not compatible [simple unify]
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
01-13-07 12:32 Luntain        New Issue                                    
======================================================================




More information about the bugs mailing list