[nem-bug] [Nemerle 0000724]: if/else & return values

feedback at nemerle.org feedback at nemerle.org
Mon Jul 31 08:51:45 CEST 2006


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=724> 
======================================================================
Reported By:                IT
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   724
Category:                   The Macro Library
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             07-31-2006 08:51 CEST
Last Modified:              07-31-2006 08:51 CEST
======================================================================
Summary:                    if/else & return values
Description: 
This code gives me an error:

def foo() : int
{
  if (1 > 2)
  {
    _ = 1;
  }
  else
    3
  4
}

_ = foo();

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

Issue History
Date Modified  Username       Field                    Change              
======================================================================
07-31-06 08:51 IT             New Issue                                    
======================================================================




More information about the bugs mailing list