[Mono-bugs] [Bug 76671][Nor] Changed - [GMCS] [PATCH] Ensure distinct MonoTypes on resolving a typespec in different contexts

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Nov 12 08:00:14 EST 2005


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 rharinath at novell.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76671

--- shadow/76671	2005-11-11 08:46:40.000000000 -0500
+++ shadow/76671.tmp.29351	2005-11-12 08:00:14.000000000 -0500
@@ -83,6 +83,16 @@
 
 
 ------- Additional Comments From jankit at novell.com  2005-11-11 07:22 -------
 Created an attachment (id=16047)
 typespec.patch : Proposed patch
 
+
+------- Additional Comments From rharinath at novell.com  2005-11-12 08:00 -------
+I think there's a subtle bug in the last part of the patch, where the
+types cache of the container is updated.  I think you should use
+
+  container = type->...->owner;
+
+instead of the passed-in generic_context.  Also, it may be cleaner if
+this part of the code happens where the MonoType is allocated.
+


More information about the mono-bugs mailing list