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

pbludov svnadmin at nemerle.org
Mon Jan 22 15:12:18 CET 2007


Log:
Some fixes in SourceGenerator.

Author: pbludov
Date: Mon Jan 22 15:12:16 2007
New Revision: 7320

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

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/SourceGenerator.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/SourceGenerator.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/SourceGenerator.n	Mon Jan 22 15:12:16 2007
@@ -178,7 +178,7 @@
       }
     }
 
-    private WriteGenericConstraintList(tyParms : list[StaticTyVar]) : void
+    private WriteGenericConstraintList(_ : list[StaticTyVar]) : void
     {
     
     }
@@ -332,7 +332,6 @@
 
       match (ty.LookupMember("Invoke"))
       {
-      | []               => ();
       | [m is IMethod]   =>
         Write("(");
         m.GetParameters().Iter(p =>
@@ -344,6 +343,7 @@
         Write(")");
         Write(" : ");
         WriteType(m.ReturnType);
+      | _                => ();
       }
 
       WriteGenericConstraintList(ty.Typarms);



More information about the svn mailing list