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

Allow inlining the original function into its varargs stub #1936

Merged
merged 1 commit into from
Jun 29, 2021
Merged

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Jun 29, 2021

If constructors of exported classes are inlined and require a varargs stub, we were missing to make sure that the varargs stub has something to call. This change simply allows inlining the original function into the stub.

fixes #1820

  • I've read the contributing guidelines

@dcodeIO dcodeIO merged commit a5563f9 into main Jun 29, 2021
@dcodeIO dcodeIO deleted the issue-1820 branch June 29, 2021 21:15
romdotdog pushed a commit to romdotdog/assemblyscript that referenced this pull request Jul 19, 2021
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.

Calling an @inline constructor will cause validate error
2 participants