<div dir="ltr"><div>Hi all,</div><div><br></div><div>Currently, when you save a method with an unused temporary variable declared, it prompts you to decide if you want to remove it or not. If you click yes, it removes the declaration, but only if it's declared in the method scope, and not if it is declared inside a block.<br></div><div><br></div><div>To reproduce, just create a method with an unused temporary variable declared inside a block, save it, and click 'Yes' on the popup that appears.<br></div><div><br></div><div>This is because the Parser only looks for the variable in the temps declared in the method scope. Here's a ChangeSet that fixes it making the Parser look inside blocks too, taking advantage of the fact that the Encoder has already found the positions for each variable.</div><div><br></div><div>Cheers,</div><div>Eric<br></div></div>