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

feedback at nemerle.org feedback at nemerle.org
Thu Aug 9 19:29:12 CEST 2007


The following issue has been UPDATED.
======================================================================
<http://nemerle.org/bugs/view.php?id=1038> 
======================================================================
Reported By:                Denis
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   1038
Category:                   Compiler (type engine)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             08-09-2007 11:57 CEST
Last Modified:              08-09-2007 19:29 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                          
08-09-07 19:29 divan          Category                 Code Completion Engine =>
Compiler (type engine)
08-09-07 19:29 divan          Description Updated                          
======================================================================




More information about the bugs mailing list