[svn] r6436: nemerle/trunk/snippets/synq/synq.n

nazgul svnadmin at nemerle.org
Sat Jul 8 15:39:50 CEST 2006


Log:
Make the field accessed from closurized functions mutable

Author: nazgul
Date: Sat Jul  8 15:39:49 2006
New Revision: 6436

Modified:
   nemerle/trunk/snippets/synq/synq.n

Modified: nemerle/trunk/snippets/synq/synq.n
==============================================================================
--- nemerle/trunk/snippets/synq/synq.n	(original)
+++ nemerle/trunk/snippets/synq/synq.n	Sat Jul  8 15:39:49 2006
@@ -185,8 +185,8 @@
     //represents fragments that was unfinished before sending this packet
     public fragments : list[Frag];
     //exact data sent
-    public found : list[bool];
-    public hashes : list[VerifyHash];
+    public mutable found : list[bool];
+    public mutable hashes : list[VerifyHash];
 
     public bigger : int;
     public smaller : int;



More information about the svn mailing list