Skip to content

Allow functions to be called directly from element accesses #2530

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

Closed

Conversation

CountBleck
Copy link
Member

@CountBleck CountBleck commented Oct 8, 2022

Fix #2525

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

@CountBleck CountBleck force-pushed the array-function-call branch from 6323b25 to 74b3925 Compare October 8, 2022 07:34
@CountBleck CountBleck requested a review from MaxGraey October 8, 2022 07:40
@MaxGraey MaxGraey requested a review from dcodeIO October 8, 2022 07:49
@CountBleck CountBleck force-pushed the array-function-call branch from 74b3925 to 80ac338 Compare October 8, 2022 16:40
@CountBleck CountBleck requested review from dcodeIO and removed request for MaxGraey October 8, 2022 16:41
This commit adds a case to compileCallExpression(), allowing element
accesses to be used in function calls.

This commit fixes AssemblyScript#2525.
@dcodeIO dcodeIO mentioned this pull request Nov 11, 2022
2 tasks
@CountBleck CountBleck deleted the array-function-call branch November 12, 2022 17:38
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
3 participants