[Cuis-dev] ExtractMethod from cascade fix
Hernán Wilkinson
hernan.wilkinson at 10pines.com
Fri Sep 11 11:49:45 PDT 2026
Hi,
Currently, if you have this method:
m1
^ Dictionary new
at: 1 put: (OrderedCollection new
add: 1;
yourself);
yourself
-----------
And want to extract:
OrderedCollection new
add: 1;
yourself
------------
Sometimes you get an error forbidding the extraction, and sometimes a parse
error when performing the refactoring.
The attached cs fixes that and uses the correct indentation on the
extracted method. Attached are the tests to.
Cheers!
Hernan
--
*Hernán WilkinsonAgile Software Development, Teaching & Coaching*
*Phone: +54-011*-4893-2057
*Twitter: @HernanWilkinson*
*site: http://www.10Pines.com <http://www.10pines.com/>*
Address: Alem 896, Floor 6, Buenos Aires, Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260911/0f7faa63/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UnsavedChangesTo-RefactoringTests-HAW.004.cs.st
Type: application/octet-stream
Size: 2846 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260911/0f7faa63/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8167-ExtractMethodCascade-HernanWilkinson-2026Sep11-09h22m-HAW.001.cs.st
Type: application/octet-stream
Size: 4531 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260911/0f7faa63/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UnsavedChangesTo-CompilerTests-HAW.001.cs.st
Type: application/octet-stream
Size: 751 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260911/0f7faa63/attachment-0005.obj>
More information about the Cuis-dev
mailing list