[svn] r6969: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel: Checker.n Project.Type....

VladD2 svnadmin at nemerle.org
Mon Nov 20 20:17:06 CET 2006


Log:
Remove body compiling hack.

Author: VladD2
Date: Mon Nov 20 20:17:03 2006
New Revision: 6969

Modified:
   vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Checker.n
   vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Type.n
   vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.n

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Checker.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Checker.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Checker.n	Mon Nov 20 20:17:03 2006
@@ -243,7 +243,7 @@
         break;
 #endif
 
-      method.ResetBody(); //HACK!!!
+      //method.ResetBody(); //HACK!!!
       
       def pExpr = method.BodyParsed;
 

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Type.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Type.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Type.n	Mon Nov 20 20:17:03 2006
@@ -151,7 +151,7 @@
 
         if (method.BodyLocation.Contains(line, col))
         {
-          method.ResetBody(); //HACK!!!
+          //method.ResetBody(); //HACK!!!
           ExprFinder().Find(method.BodyParsed, method.BodyTyped, line, col);
         }
         else if (ast.header.Location.Contains(line, col))

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.n	Mon Nov 20 20:17:03 2006
@@ -230,7 +230,7 @@
 
       foreach (method when !method.IsCompilerGenerated() in GetAllMetodsDefinedInFile(fileIndex))
       {
-        method.ResetBody(); //HACK!!!
+        //method.ResetBody(); //HACK!!!
         method.EnsureCompiled();
         foreach (cm in method.BodyMessages)
           yield cm;



More information about the svn mailing list