Author: marek
Date: 2007-12-04 17:14:45 -0500 (Tue, 04 Dec 2007)
New Revision: 90718
Modified:
branches/mono-1-2-6/mcs/mcs/ChangeLog
branches/mono-1-2-6/mcs/mcs/typemanager.cs
Log:
2007-12-04 Marek Safar <[EMAIL PROTECTED]>
A fix for regression #345467
* typemanager.cs: Fixed type arguments comparison.
Modified: branches/mono-1-2-6/mcs/mcs/ChangeLog
===================================================================
--- branches/mono-1-2-6/mcs/mcs/ChangeLog 2007-12-04 21:33:27 UTC (rev
90717)
+++ branches/mono-1-2-6/mcs/mcs/ChangeLog 2007-12-04 22:14:45 UTC (rev
90718)
@@ -1,3 +1,8 @@
+2007-12-04 Marek Safar <[EMAIL PROTECTED]>
+
+ A fix for regression #345467
+ * typemanager.cs: Fixed type arguments comparison.
+
2007-11-28 Marek Safar <[EMAIL PROTECTED]>
* expression.cs (BaseAccess): Type arguments can be null.
Modified: branches/mono-1-2-6/mcs/mcs/typemanager.cs
===================================================================
--- branches/mono-1-2-6/mcs/mcs/typemanager.cs 2007-12-04 21:33:27 UTC (rev
90717)
+++ branches/mono-1-2-6/mcs/mcs/typemanager.cs 2007-12-04 22:14:45 UTC (rev
90718)
@@ -2836,9 +2836,10 @@
#if GMCS_SOURCE
if (a.IsGenericParameter && b.IsGenericParameter) {
- if (a.DeclaringMethod != b.DeclaringMethod &&
- (a.DeclaringMethod == null || b.DeclaringMethod ==
null))
- return false;
+ // TODO: needs more testing before cleaning up
+ //if (a.DeclaringMethod != b.DeclaringMethod &&
+ // (a.DeclaringMethod == null || b.DeclaringMethod
== null))
+ // return false;
return a.GenericParameterPosition ==
b.GenericParameterPosition;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches