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

kliss svnadmin at nemerle.org
Fri Sep 7 11:27:25 CEST 2007


Log:
Sync with compiler

Author: kliss
Date: Fri Sep  7 11:27:24 2007
New Revision: 7791

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

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine.Completion.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine.Completion.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine.Completion.n	Fri Sep  7 11:27:24 2007
@@ -296,7 +296,7 @@
             AddOverloads(overloads);
           }
 
-          def tryInterpretAsExtentionMethods() : void
+          def tryInterpretAsExtensionMethods() : void
           {
             // Try get extention methods...
             def extMethods = this.LibrariesManager.GetExtensionMethods (name.Id, name.GetEnv(env), true);
@@ -304,7 +304,7 @@
 
             when (ty != null)
               foreach (method when this.IsExtensionMethod(method, ty) in extMethods)
-                foreach (over in typer.ConstructMethodOverload(method, null, true))
+                foreach (over in typer.ConstructMethodOverload(null, method, null, true))
                 {
                   over.ExtensionMethodObject = tobj;
                   elems.Add(Elem.Overload (over));
@@ -323,7 +323,7 @@
 
           tryInterpretAsQualifiedName();
           tryInterpretAsGlobals();
-          tryInterpretAsExtentionMethods();
+          tryInterpretAsExtensionMethods();
           tryInterpretAsMemberAccessAtGeneralExpression();
 
           def compl_exc = CompletionResult (elems, name.Id);



More information about the svn mailing list