Skip to content

Conversation

@Adarsh-NP
Copy link
Contributor

@Adarsh-NP Adarsh-NP commented Sep 5, 2023

This PR fixes some variable inline issues observed when the tooling was used to produce diffs. Also adds new tests to ensure correctness. Please refer to tests to understand the scenarios better.

Reason for reordering: It seems that replace_identifier_with_value was getting executed before replace_self_identifier_with_value. One of the constraints of replace_identifier_with_value is to not replace the variable if it used in self expression (self.x) manner due to which it wasn't getting executed at all. Changing the order seems to have solved this without breaking anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants