Skip to content

Refactor cloneExpression to reuse copyExpression #2079

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 4 commits into from
Sep 29, 2021
Merged

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Sep 20, 2021

A while ago Binaryen introduced a copyExpression helper that we can reuse. The previous cloneExpression now is merely a special case of it, tryCopySimpleExpression.

  • I've read the contributing guidelines
  • I've added my name and email to the NOTICE file

@dcodeIO dcodeIO merged commit c629b1d into main Sep 29, 2021
@dcodeIO dcodeIO deleted the cloneexpression branch November 8, 2021 22:28
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