On 05 Feb 2014, at 17:55, Nicolai Hess <[email protected]> wrote:
> 2014-02-03 Nicolai Hess <[email protected]>:
> Can someone with some background knowledget on the opal compiler,
> look at my fix for issue 12442.
>
> It seems to work, but I don't like it.
>
> There were 2 problems with OCUnusedVariableWarning, removing unused temps:
> 1. Removes the RBTemporaryNode and updates the source text but does
> not correct the sourcetext offset of the remaining nodes.
> 2. Removed temporaries are left in the methodnode/blocknode scope
>
> One additional issue, if you have removed all temporaries, the two bars
> from the empty variable declaration still there
>
>
> nicolai
>
>
> Now we have 3 Opal Compiler related bugs waiting for a review:
>
> 12442 Nautilus brakes code when removing more than one unused local variables
> 12512 SemanticAnalyzer ignores answer from UnknownSelectorWarning
> 12514 OCSemanticWarnings ignore "cancel" from a confirmation dialog
>
> please report back if you find any issues in the bug fixes.
>
Yes, sorry for being a bit slow… sadly there is right now so much other stuff
to do that
I did not find yet the time to look at it. (and this is not good).
Marcus