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

IT svnadmin at nemerle.org
Wed Jan 24 00:11:11 CET 2007


Log:
Fixed a MethodTipInfo bug II.

Author: IT
Date: Wed Jan 24 00:11:09 2007
New Revision: 7327

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

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/MethodTipInfo.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/MethodTipInfo.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/MethodTipInfo.n	Wed Jan 24 00:11:09 2007
@@ -77,7 +77,13 @@
         {
           def name = (token :> Token.Identifier).name;
 
-          _overloads = _overloads.FindAll(o => o.Member.Name == name);
+          _overloads = _overloads.FindAll(fun(o)
+          {
+            if (o.Member.Name == ".ctor")
+              o.From.tycon.Name == name
+            else
+              o.Member.Name == name
+          });
 
           _startName       = token.Location;
           _startParameters = group.Location;



More information about the svn mailing list