[Mono-dev] Patch for Bug #477447

David Mitchell dmitchell at logos.com
Thu Feb 19 15:18:07 EST 2009


Attached is a patch for https://bugzilla.novell.com/show_bug.cgi?id=477447.
Would someone mind reviewing/applying it? I would attach the patch to the
bug itself, but I can¹t access Novell¹s Bugzilla right now.

Here¹s the text that I would have added as a comment:

I am still unable to create a concise test case that exposes this bug, but I
have supplied a patch that fixes the issue.

It seems that, in certain cases, an AnonymousMethodStorey used by an
anonymous delegate may not always be available in the AnonymousMethodStorey
associated with that delegate. The attached patch detects this situation and
attempts to compose an expression that accesses the desired
AnonymousMethodStorey indirectly.

I know that it may be a tough sell to get code committed for which no test
case can be supplied, but a review of my patch should reveal that the only
code paths affected are those in which the compiler would have crashed,
anyway, so there shouldn't be much danger in applying it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090219/fafdd06a/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug477447.patch
Type: application/octet-stream
Size: 3775 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090219/fafdd06a/attachment.obj 


More information about the Mono-devel-list mailing list