[nem-bug] [Nemerle 0001005]: changing mutable variables through
closures doesn't work
feedback at nemerle.org
feedback at nemerle.org
Sat May 5 11:49:23 CEST 2007
The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=1005>
======================================================================
Reported By: biosap
Assigned To:
======================================================================
Project: Nemerle
Issue ID: 1005
Category: Nemish
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 05-05-2007 11:49 CEST
Last Modified: 05-05-2007 11:49 CEST
======================================================================
Summary: changing mutable variables through closures doesn't
work
Description:
micky at cellar:~/programming/nemerle/bug-reports$ nemish
Welcome to Nemerle interpreter (using ncc 0.9.3.0).
Please enter expressions appended with ";;".
Type "Help;;" for more info.
Please wait while evaluating the config file..
- mutable x = 0;;
mutable x = 0 : System.Int32
- def setX(v) : void { x = v };;
def setX : System.Int32 -> void
- setX(2);;
- x;;
def it = 0 : System.Int32
-
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
05-05-07 11:49 biosap New Issue
======================================================================
More information about the bugs
mailing list