2010-02-24 Marek Safar <marek.safar@gmail.com>
authorMarek Safar <marek.safar@gmail.com>
Wed, 24 Feb 2010 10:12:44 +0000 (10:12 -0000)
committerMarek Safar <marek.safar@gmail.com>
Wed, 24 Feb 2010 10:12:44 +0000 (10:12 -0000)
A fix for bug #581804
* ecore.cs: Fixed type comparison.

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

mcs/mcs/ChangeLog
mcs/mcs/ecore.cs

index 7a5fc0958fe92887311a4eac6deab9b0f219d5e5..3c0819606df2664dcfc87a3e6a3d8caf8537ce83 100644 (file)
@@ -1,3 +1,8 @@
+2010-02-24  Marek Safar  <marek.safar@gmail.com>
+
+       A fix for bug #581804
+       * ecore.cs: Fixed type comparison.
+
 2010-02-08  Miguel de Icaza  <miguel@novell.com>
 
        * namespace.cs (CompletionGetTypesStartingWith): Do not include
index 0ba309a981e32d46f03cfa5d959a174fb3d8cd33..31c8778cf5ab8a5e03e34db1befa5c8d1543b73f 100644 (file)
@@ -3579,8 +3579,8 @@ namespace Mono.CSharp {
                                        bt = TypeManager.GetElementType (bt);
                                        --b_idx;
                                }
-
-                               if (ct == bt)
+                               
+                               if (TypeManager.IsEqual (ct, bt))
                                        continue;
 
                                same = false;