Skip to content

Ruby: Simplify flow summary for fetch #8893

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

Merged
merged 1 commit into from
Apr 27, 2022

Conversation

hvitved
Copy link
Contributor

@hvitved hvitved commented Apr 27, 2022

The outputs into self are not needed, since that will be handled by ordinary use-use flow at the call sites.

@github-actions github-actions bot added the Ruby label Apr 27, 2022
@hvitved hvitved marked this pull request as ready for review April 27, 2022 07:30
@hvitved hvitved requested a review from a team as a code owner April 27, 2022 07:30
@hvitved hvitved added the no-change-note-required This PR does not need a change note label Apr 27, 2022
Copy link
Contributor

@nickrolfe nickrolfe left a comment

Choose a reason for hiding this comment

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

LGTM

or
j != i and output = "Argument[self].ArrayElement[" + j + "]"
)
input = "Argument[self].ArrayElement[?," + i + "]" and
Copy link
Contributor

Choose a reason for hiding this comment

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

Cool, I didn't know we supported syntax like [?,0].

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's also a fairly recent addition thanks to @asgerf .

@hvitved hvitved merged commit 5974248 into github:main Apr 27, 2022
@hvitved hvitved deleted the ruby/simplify-fetch-summary branch April 27, 2022 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-change-note-required This PR does not need a change note Ruby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants