[nem-bug] [Nemerle 0000991]: ICE on closure of yielding method

feedback at nemerle.org feedback at nemerle.org
Mon Apr 30 11:57:38 CEST 2007


The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=991> 
======================================================================
Reported By:                divan
Assigned To:                malekith
======================================================================
Project:                    Nemerle
Issue ID:                   991
Category:                   Compiler
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             04-18-2007 07:26 CEST
Last Modified:              04-30-2007 11:57 CEST
======================================================================
Summary:                    ICE on closure of yielding method
Description: 
module A {
 Main () : void {}
 q (_ : int->int) : void {}
 E () : System.Collections.Generic.IEnumerable[int] {
  def x = 0;
  q (_ => x); //create closure
  yield 1;
 }
}

Should create proper closure, or report that it's not supported.
======================================================================

----------------------------------------------------------------------
 malekith - 04-30-07 11:57 
----------------------------------------------------------------------
Fixed on trunk, r7631.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
04-18-07 07:26 divan          New Issue                                    
04-22-07 13:14 divan          Issue Monitored: divan                       
04-30-07 11:57 malekith       Status                   new => resolved     
04-30-07 11:57 malekith       Resolution               open => fixed       
04-30-07 11:57 malekith       Assigned To               => malekith        
04-30-07 11:57 malekith       Note Added: 0001860                          
======================================================================




More information about the bugs mailing list