[svn] r7206: vs-plugin/trunk:
Nemerle.Compiler.Utils/Nemerle.Completion2/Debug/AstUtils.n
Nemerle.VsIntegr...
VladD2
svnadmin at nemerle.org
Fri Jan 5 02:27:41 CET 2007
Log:
Fix errors.
Author: VladD2
Date: Fri Jan 5 02:27:38 2007
New Revision: 7206
Modified:
vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Debug/AstUtils.n
vs-plugin/trunk/Nemerle.VsIntegration/GUI/AstToolControl.cs
vs-plugin/trunk/Nemerle.VsIntegration/Project/ProjectInfo.cs
Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Debug/AstUtils.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Debug/AstUtils.n (original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Debug/AstUtils.n Fri Jan 5 02:27:38 2007
@@ -78,8 +78,8 @@
{
| Some(loc) =>
items.Add(AstNodeInfo($"$(indent){", loc.FromStart()));
- foreach (subTb in tb.GetNestedTypes())
- scanType(subTb :> TypeBuilder, indent + " ");
+ foreach (subTb is TypeBuilder in tb.GetNestedTypes())
+ scanType(subTb, indent + " ");
//
def mems = tb.GetDirectMembers(); //GetMembers(BindingFlags.NonPublic | BindingFlags.DeclaredOnly | BindingFlags.Public);
foreach (mem is MemberBuilder when mem.Location.FileIndex == fileIndex in mems)
Modified: vs-plugin/trunk/Nemerle.VsIntegration/GUI/AstToolControl.cs
==============================================================================
--- vs-plugin/trunk/Nemerle.VsIntegration/GUI/AstToolControl.cs (original)
+++ vs-plugin/trunk/Nemerle.VsIntegration/GUI/AstToolControl.cs Fri Jan 5 02:27:38 2007
@@ -117,7 +117,5 @@
_grid.Invalidate();
_grid.Update();
}
-
-
}
}
Modified: vs-plugin/trunk/Nemerle.VsIntegration/Project/ProjectInfo.cs
==============================================================================
--- vs-plugin/trunk/Nemerle.VsIntegration/Project/ProjectInfo.cs (original)
+++ vs-plugin/trunk/Nemerle.VsIntegration/Project/ProjectInfo.cs Fri Jan 5 02:27:38 2007
@@ -57,9 +57,10 @@
projectManager.Engine = _engine;
_engine.TypedtreeCreated += delegate
{
+ _buildTypedtreeCount++;
AstToolWindow tool = AstToolWindow.AstTool;
if (tool != null)
- tool.BuildTypedtreeCount++;
+ tool.BuildTypedtreeCount = _buildTypedtreeCount;
};
if (!string.IsNullOrEmpty(location))
@@ -71,6 +72,8 @@
_projectLocation += "\\";
}
+ int _buildTypedtreeCount;
+
public void Init()
{
_engine.Init();
More information about the svn
mailing list