[Cuis-dev] [ChangeSet] bugfixes and improvements on Refactorings

Nahuel Garbezza n.garbezza at gmail.com
Sun Apr 26 11:32:51 PDT 2020


Hi everyone,

Attached is a changeset with the following changes:

Changes on Extract Temporary refactoring:

* make sure it is not possible to extract the left side of an assignment
* allow to extract cascade expressions
* allow to extract entire blocks into variables
* validate new temporary is not a reserved name

Changes on Extract Method refactoring:

* solve bug where 2 statements (one being a block) could not be extracted

Changes on Rename Temporary refactoring:

* validate new temporary is not a reserved name

Also attached the new tests for them.

Thanks!
Nahuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200426/33f316a8/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4121-CuisCore-NahuelGarbezza-2020Apr24-20h33m-RNG.001.cs.st
Type: application/octet-stream
Size: 9403 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200426/33f316a8/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UnsavedChangesTo-BaseImageTests-RNG.001.cs.st
Type: application/octet-stream
Size: 5785 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200426/33f316a8/attachment-0003.obj>


More information about the Cuis-dev mailing list