Arf you are too fast to fix bugs we don't have time to review :-)

I guess Marcus or I will have a look friday afternoon, if possible before.

Regards.


2014-02-05 Nicolai Hess <nicolaihess@web.de>:
2014-02-03 Nicolai Hess <nicolaihess@web.de>:

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.


regards
Nicolai