[svn] r6517: nemerle/trunk/ncc/typing/Typer.n

nazgul svnadmin at nemerle.org
Sun Aug 13 12:10:21 CEST 2006


Log:
Use non-substituted type in typeof

Author: nazgul
Date: Sun Aug 13 12:10:17 2006
New Revision: 6517

Modified:
   nemerle/trunk/ncc/typing/Typer.n

Modified: nemerle/trunk/ncc/typing/Typer.n
==============================================================================
--- nemerle/trunk/ncc/typing/Typer.n	(original)
+++ nemerle/trunk/ncc/typing/Typer.n	Sun Aug 13 12:10:17 2006
@@ -1315,7 +1315,7 @@
               if (args.Exists (is_free)) {
                 when (!args.ForAll (is_free))
                   Message.Error ("to create open generic type, all arguments must be open `_'");
-                TExpr.TypeOf (tc.GetMemType())
+                TExpr.TypeOf (MType.Class (tc, []))
               }
               else TExpr.TypeOf (ty)
             | _ => TExpr.TypeOf (ty)



More information about the svn mailing list