[svn]
r7265: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel:
Checker.n Project.Type....
VladD2
svnadmin at nemerle.org
Fri Jan 12 23:50:23 CET 2007
Log:
Sync with compiler.
Author: VladD2
Date: Fri Jan 12 23:50:22 2007
New Revision: 7265
Modified:
vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Checker.n
vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Type.n
Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Checker.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Checker.n (original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Checker.n Fri Jan 12 23:50:22 2007
@@ -282,7 +282,7 @@
// Get the method region location.
//
- AddRegion(method.Location.TrimStart(method.fun_header.ret_type_loc, false), true);
+ AddRegion(method.Location.TrimStart(method.Header.ret_type_loc, false), true);
}
ProcessProperty(prop : PropertyBuilder) : void
@@ -309,9 +309,9 @@
when (f != null)
AddRegion(
Location(
- f.fun_header.Location.FileIndex,
- f.fun_header.Location.EndLine,
- f.fun_header.Location.EndColumn,
+ f.Header.Location.FileIndex,
+ f.Header.Location.EndLine,
+ f.Header.Location.EndColumn,
f.BodyLocation.EndLine,
f.BodyLocation.EndColumn + 1),
true);
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 Fri Jan 12 23:50:22 2007
@@ -265,7 +265,7 @@
match (parms.Find(p => p.ty.Location.Contains(line, col)))
{
- | Some(p) => checkType(p.ty, method.fun_header.parms.Nth(parms.IndexOf(p)).ty)
+ | Some(p) => checkType(p.ty, method.Header.parms.Nth(parms.IndexOf(p)).ty)
| _ => (Location.Default, null, null)
}
}
More information about the svn
mailing list