[svn] r6872: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine-main.n

IT svnadmin at nemerle.org
Sun Nov 12 20:07:05 CET 2006


Log:
Rollback 'if (method.Env == null) ...'.

Author: IT
Date: Sun Nov 12 20:07:03 2006
New Revision: 6872

Modified:
   vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine-main.n

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine-main.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine-main.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine-main.n	Sun Nov 12 20:07:03 2006
@@ -190,14 +190,6 @@
 
     protected override PreParseMethodBody (method : MethodBuilder) : Token.BracesGroup
     {
-      // Generated methods may not have Env.
-      //
-      if (method.Env == null)
-      {
-        Token.BracesGroup(null);
-      }
-      else
-      {
         def reportError(e, msg)
         {
           Trace.WriteLine($"$msg method body of:");
@@ -226,7 +218,6 @@
           Token.BracesGroup(null)
         } // return empty body!
       }
-    }
   } // end class Engine
 } // end namespace
 



More information about the svn mailing list