[svn] r7309: vs-plugin/trunk/Nemerle.Compiler.Utils/Utils.n
IT
svnadmin at nemerle.org
Sun Jan 21 07:04:00 CET 2007
Log:
Fixed finding a field with modifiers.
Author: IT
Date: Sun Jan 21 07:03:57 2007
New Revision: 7309
Modified:
vs-plugin/trunk/Nemerle.Compiler.Utils/Utils.n
Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Utils.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Utils.n (original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Utils.n Sun Jan 21 07:03:57 2007
@@ -232,6 +232,15 @@
// else
// null
+ | fb is FieldBuilder =>
+
+ def name = fb.Ast.name;
+
+ if (!name.Location.IsGenerated && name.Location.Contains(fileIndex, line, col))
+ fb
+ else
+ find(tail);
+
| mb is MethodBuilder =>
if (!mb.IsGenerated &&
More information about the svn
mailing list