[svn] r6545: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/XmlDocReader.n

VladD2 svnadmin at nemerle.org
Thu Aug 17 13:19:52 CEST 2006


Log:
Fix NullRefException in   public module XmlDocReader

Author: VladD2
Date: Thu Aug 17 13:19:48 2006
New Revision: 6545

Modified:
   vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/XmlDocReader.n

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/XmlDocReader.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/XmlDocReader.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/XmlDocReader.n	Thu Aug 17 13:19:48 2006
@@ -3,6 +3,7 @@
 using System.Xml;
 
 using Nemerle.Compiler;
+using Nemerle.Completion2.Engine;
 
 namespace Nemerle.Completion2
 {
@@ -28,7 +29,7 @@
 
           "M:" + name + "(" + args.Map((tv) =>
             {
-            | mt is MType => mt.TypeInfo.FullName
+            | mt is MType => if (mt.TypeInfo == null) mt.SystemType.Name else mt.TypeInfo.FullName
             | _           => ""
             }).ToString(",") + ")"
 



More information about the svn mailing list