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

IT svnadmin at nemerle.org
Wed Dec 13 05:04:47 CET 2006


Log:
Fixed field's location.

Author: IT
Date: Wed Dec 13 05:04:44 2006
New Revision: 7084

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	Wed Dec 13 05:04:44 2006
@@ -214,6 +214,8 @@
         else
           if (fb.Ast.ty.Location.Contains(line, col))
             checkType(fb.Ast.ty, fb.GetMemType())
+          else if (fb.Ast.name.Location.Contains(line, col))
+            (fb.Ast.name.Location, null, fb)
           else
             (fb.Location,        null, fb)
 



More information about the svn mailing list