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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=76957 --- shadow/76957 2006-01-17 01:40:05.000000000 -0500 +++ shadow/76957.tmp.26762 2006-01-19 01:23:16.000000000 -0500 @@ -75,6 +75,26 @@ * Alternatively, eliminate "topmost" and turn that into an arraylist of linked scopes (peers), but this will complicate plenty of other pieces of code. + +------- Additional Comments From [EMAIL PROTECTED] 2006-01-19 01:23 ------- +These are some further ideas on how to fix this bug. + +The routine to fix is AddLocal in anonymous.cs, but this routine and +its side effects are complicated because it tries to maintain the +hierarchy of ScopeInfos updates as calls are made to AddLocal (this +happens in a few places elsewhere as well). + +It might be better to just record all the ScopeInfos as they are +required and once all the ScopeInfos/blocks are tracked, then we can +link the ScopeInfos. + +At the top of the CaptureContext we will have a list of ScopeInfos +(the toplevel scopeinfos, those which dont have a nesting relationship +between them). + +Without this change, fixing the bug becomes harder as we need to link +all the toplevel ScopeInfos to the CaptureContext parent (for nested +anonymous methods). _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
