Skip to content

Remove RBInstanceVariableNode crufts#13199

Merged
MarcusDenker merged 2 commits intopharo-project:Pharo12from
privat:remove-RBInstanceVariableNode-crufts
Mar 30, 2023
Merged

Remove RBInstanceVariableNode crufts#13199
MarcusDenker merged 2 commits intopharo-project:Pharo12from
privat:remove-RBInstanceVariableNode-crufts

Conversation

@privat
Copy link
Contributor

@privat privat commented Mar 30, 2023

#13189 shows that some leftover from a presumably removed class RBInstanceVariableNode remains, and was not detected because used in an evaluated string — eval is evil :)

Some method visitInstanceVariableNode: did still exist with a parameter named aRBInstanceVariableNode but I think they are still used via Slot>>#acceptVisitor:node:. I'm not sure, so I do not touch

Copy link
Member

@jecisc jecisc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before we had multiple AST variable nodes. Now we only have one that knows its binding. This was indeed a leftover :)

@privat privat changed the base branch from Pharo12 to Pharo11 March 30, 2023 14:00
@privat privat changed the base branch from Pharo11 to Pharo12 March 30, 2023 14:00
@privat
Copy link
Contributor Author

privat commented Mar 30, 2023

CI ok, windows error unrelated

@MarcusDenker MarcusDenker merged commit bbca0f5 into pharo-project:Pharo12 Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants