[Mono-bugs] [Bug 78435][Nor] Changed - gmcs and IComparable<T>
silliness
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon May 29 03:24:45 EDT 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by adrinael at adrinael.net.
http://bugzilla.ximian.com/show_bug.cgi?id=78435
--- shadow/78435 2006-05-29 03:19:43.000000000 -0400
+++ shadow/78435.tmp.2385 2006-05-29 03:24:45.000000000 -0400
@@ -109,6 +109,19 @@
Martin, can you give me some feedback on this?
------- Additional Comments From adrinael at adrinael.net 2006-05-29 03:19 -------
Created an attachment (id=17115)
Testcase
+
+------- Additional Comments From adrinael at adrinael.net 2006-05-29 03:24 -------
+I attached a simplified testcase. What breaks this thing is
+IEnumerable, more specifically creating the nested class for it. In
+iterator.cs of gmcs sources, in DefineNestedTypes():
+
+foreach (TypeParameter tparam in TypeParameters)
+ tparam.InflateConstraints (current_type.Type);
+
+That is the culprit AFAICS. Or the bug is somewhere earlier, I'm not
+nearly enough versed in gmcs code. Anyway, the generics parameter list
+is leaked from the outer class to where it shouldn't be. I need some
+additional help in solving this.
More information about the mono-bugs
mailing list