[svn] r6604: nemerle/trunk/ncc/typing/Typer2.n

VladD2 svnadmin at nemerle.org
Sun Sep 3 03:54:02 CEST 2006


Log:
Fix a bug (set current_fun.all_locals to null instate of []). It's prevent repeat typing the same method.

Author: VladD2
Date: Sun Sep  3 03:53:59 2006
New Revision: 6604

Modified:
   nemerle/trunk/ncc/typing/Typer2.n

Modified: nemerle/trunk/ncc/typing/Typer2.n
==============================================================================
--- nemerle/trunk/ncc/typing/Typer2.n	(original)
+++ nemerle/trunk/ncc/typing/Typer2.n	Sun Sep  3 03:53:59 2006
@@ -367,7 +367,7 @@
       def warned = Hashtable (50);
       
       def locals = List.Rev (current_fun.all_locals);
-      current_fun.all_locals = null; // GC it
+      current_fun.all_locals = []; // GC it
 
       unless (current_type.IsDelegate) {
         foreach (v in locals)



More information about the svn mailing list