[nem-bug] [Nemerle 0001015]: yield in local funs
feedback at nemerle.org
feedback at nemerle.org
Sun May 13 16:42:07 CEST 2007
The following issue has been set as RELATED TO issue 0000592.
======================================================================
<http://nemerle.org/bugs/view.php?id=1015>
======================================================================
Reported By: divan
Assigned To:
======================================================================
Project: Nemerle
Issue ID: 1015
Category: Compiler
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 05-13-2007 16:41 CEST
Last Modified: 05-13-2007 16:42 CEST
======================================================================
Summary: yield in local funs
Description:
In short currently yield can be used only in toplevel local funs returning
void, which are called exactly once from toplevel code, and any other call
to it is a self-tail-recursive call.
It's not intuitive or documented/reported by compiler.
Probably current behavior should be reported by compiler, at least about
void result.
Some noncompilable code is attached, also there are related bugs 592 and
643.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0000643 Error message for trying to use yield i...
related to 0000592 ICE when mixing yield and functions
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
05-13-07 16:41 divan New Issue
05-13-07 16:41 divan File Added: bugs.n
05-13-07 16:41 divan Relationship added related to 0000643
05-13-07 16:42 divan Relationship added related to 0000592
======================================================================
More information about the bugs
mailing list