2007-06-08 Marek Safar <marek.safar@gmail.com>
authorMarek Safar <marek.safar@gmail.com>
Fri, 8 Jun 2007 13:12:54 +0000 (13:12 -0000)
committerMarek Safar <marek.safar@gmail.com>
Fri, 8 Jun 2007 13:12:54 +0000 (13:12 -0000)
* generics.cs (InferTypeArguments): Uses AnonymousMethodExpression
InferTypeArguments.

svn path=/trunk/mcs/; revision=78950

mcs/gmcs/ChangeLog
mcs/gmcs/generic.cs

index eeebbb791417d8b86cb7ed47ce311ed6207dc6aa..e8c003e0ad3dd69039b72c1dae1aee66eac5ae7d 100644 (file)
@@ -1,12 +1,12 @@
+2007-06-08  Marek Safar  <marek.safar@gmail.com>
+
+       * generics.cs (InferTypeArguments): Uses AnonymousMethodExpression
+       InferTypeArguments.
+
 2007-06-06  Marek Safar  <marek.safar@gmail.com>
 
-       * cs-parser.jay: Select, where, cast clauses are now working.
-       
        * generics.cs (TypeArguments): New contructor fow known number of
        arguments.
-       
-       * linq.cs: Moved to separate namespace. Refactored select to use new
-       shared functionality. Implemented where and explictly types from clause.
 
 2007-06-04  Raja R Harinath  <rharinath@novell.com>
 
index 3628250cb0e5d19a6a32475d95d6a4cf95de2cbc..89010834903d4f0605be0924f31431dfea63a69f 100644 (file)
@@ -2682,8 +2682,7 @@ namespace Mono.CSharp {
                                                continue;
 
                                        AnonymousMethodExpression am = (AnonymousMethodExpression)a.Expr;
-
-                                       Expression e = am.Compatible (ec, dtype);
+                                       Expression e = am.InferTypeArguments (ec, dtype);
                                        if (e == null)
                                                return false;