Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix static csend mutation #1049

Merged
merged 1 commit into from Sep 6, 2020
Merged

Fix static csend mutation #1049

merged 1 commit into from Sep 6, 2020

Conversation

dgollahon
Copy link
Sponsor Collaborator

  • When we have an expression like a.public_send(:b) we convert it to the form of a.b. In the case of a&.b we had previously been emitting a.b, but not a&.b. The former is less often useful but the latter can be later promoted from a&.b to a.b if applicable since we already have a mutation to remove the conditional part of the csend.

- When we have an expression like `a.public_send(:b)` we convert it to the form of `a.b`. In the case of `a&.b` we had previously been emitting `a.b`, but not `a&.b`. The former is less often useful but the latter can be later promoted from `a&.b` to `a.b` if applicable since we already have a mutation to remove the conditional part of the csend.
@mbj mbj self-assigned this Sep 6, 2020
@mbj mbj added the mutation label Sep 6, 2020
@mbj mbj merged commit c9e3c4d into master Sep 6, 2020
@mbj mbj deleted the fix-static-csend-mutation branch September 6, 2020 22:55
@mbj mbj self-requested a review September 6, 2020 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants