[svn]
r7565: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Type.n
IT
svnadmin at nemerle.org
Sun Apr 1 04:50:00 CEST 2007
Log:
Fixed the TipInfo for local function parameters.
Author: IT
Date: Sun Apr 1 04:49:58 2007
New Revision: 7565
Modified:
vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Type.n
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 Sun Apr 1 04:49:58 2007
@@ -137,7 +137,7 @@
if (method.BodyLocation.Contains(line, col))
{
def found = ExprFinder().Find(method.BodyParsed, method.BodyTyped, line, col);
- def (_, _, typedObject) = found;
+ def (loc, _, typedObject) = found;
/*
def getParameter(name, parsedParameters, typedParameters)
{
@@ -180,7 +180,7 @@
{
def parsedParameter = function.ParametersDeclarations.Nth(number);
def typedParameter = function.parms.Nth(number);
- (parsedParameter.name.Location, parsedParameter.name, typedParameter)
+ (loc, parsedParameter.name, typedParameter)
}
| _ => found
}
More information about the svn
mailing list