Skip to content

Composite Extract Method fails to extarct statement #18404

@balsa-sarenac

Description

@balsa-sarenac

Pharo13 (didn't test on Pharo14 should be the same behavior)

It fails when parsing this statement: self addChild: OCVariableNode(aChild).

Image

To reproduce, try this:

SoupTag >> beParentOf: anElement
	children ifNotEmpty: [anElement previousSibling: children last].
	children add: anElement.
	```

try to extract `children add: anElement`.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    For Later (kind of Backlog)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions