[nem-bug] [Nemerle 0001038]: returning tuple from block cases error

feedback at nemerle.org feedback at nemerle.org
Thu Aug 9 11:59:36 CEST 2007


A NOTE has been added to this issue.
======================================================================
<http://nemerle.org/bugs/view.php?id=1038> 
======================================================================
Reported By:                Denis
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   1038
Category:                   Code Completion Engine
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             08-09-2007 11:57 CEST
Last Modified:              08-09-2007 11:59 CEST
======================================================================
Summary:                    returning tuple from block cases error
Description: 
this code produces error in latest compiler
========================
def (_a, _b) = result:
{
    result((1, 2))
}
=========================
bug.n:3:5:3:11: error: goto (block return?) is not allowed inside
expressions

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

----------------------------------------------------------------------
 Denis - 08-09-07 11:59 
----------------------------------------------------------------------
Added to wrong category

Issue History
Date Modified  Username       Field                    Change              
======================================================================
08-09-07 11:57 Denis          New Issue                                    
08-09-07 11:59 Denis          Note Added: 0001940                          
======================================================================




More information about the bugs mailing list