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

VladD2 svnadmin at nemerle.org
Sun Nov 12 01:53:19 CET 2006


Log:
Prevent compile body of methods marked as SpecialName.

Author: VladD2
Date: Sun Nov 12 01:53:18 2006
New Revision: 6871

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

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	Sun Nov 12 01:53:18 2006
@@ -149,7 +149,11 @@
       foreach (cm when cm.Location.FileIndex == fileIndex in Errors)
         yield cm;
 
-      def isIgnore(m) { m.Env == null || m.Attributes %&& NemerleAttributes.Abstract }
+      def isIgnore(m)
+      {
+        m.Env == null || m.Attributes 
+        %&& (NemerleAttributes.SpecialName | NemerleAttributes.Abstract)
+      }
 
       foreach (method when !isIgnore(method) in GetAllMetodsDefinedInFile(fileIndex))
       {



More information about the svn mailing list