Skip to content

Simplify compileCallExpression #2558

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 3 commits into from
Nov 12, 2022
Merged

Simplify compileCallExpression #2558

merged 3 commits into from
Nov 12, 2022

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Nov 11, 2022

An alternative to #2530 that instead simplifies the logic in compileCallExpression: Any call that is not a direct call compiles the target expression for use as the function argument of an indirect call.

cc @CountBleck

Fixes #2530, fixes #2525

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

@CountBleck
Copy link
Member

If it works, it looks good to me. You should link #2525 to this PR.

@dcodeIO dcodeIO merged commit a71f649 into main Nov 12, 2022
@HerrCai0907 HerrCai0907 deleted the simplify-compileCallExpression branch October 17, 2023 09:00
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.

Error when call function from array of functions
2 participants