[svn]
r6971: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Type.n
IT
svnadmin at nemerle.org
Tue Nov 21 03:20:00 CET 2006
Log:
Fixed property name location.
Author: IT
Date: Tue Nov 21 03:19:59 2006
New Revision: 6971
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 Tue Nov 21 03:19:59 2006
@@ -208,8 +208,10 @@
//
| t => checkType(pb.Ast.ty, t)
}
+ else if (pb.Ast.name.Location.Contains(line, col))
+ (pb.Ast.name.Location, null, pb)
else
- (pb.Location, null, pb)
+ (Location.Default, null, null)
| tb is TypeBuilder => (tb.Location, null, tb)
| null =>
More information about the svn
mailing list