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

fix(compiler): Fix compilation of functions annotated with alias #1293

Merged
merged 1 commit into from
May 31, 2022

Conversation

ospencer
Copy link
Member

Added some regression tests!

@ospencer ospencer requested a review from a team May 31, 2022 20:52
@ospencer ospencer self-assigned this May 31, 2022
Indirect,
)
// All native Grain function args are Managed (i32) types.
ReprFunction(List.map(_ => WasmI32, args), [WasmI32], Indirect)
Copy link
Member Author

Choose a reason for hiding this comment

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

Had to do this to get rid of the circular dep—it's correct anyway, but I added a comment just in case.

Copy link
Member

@phated phated left a comment

Choose a reason for hiding this comment

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

Excellent fix!

Copy link
Member

@marcusroberts marcusroberts left a comment

Choose a reason for hiding this comment

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

Super quick fix!

Copy link
Member

@phated phated left a comment

Choose a reason for hiding this comment

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

Reapproved!

@ospencer ospencer merged commit b3e1882 into main May 31, 2022
@ospencer ospencer deleted the oscar/alias-regression branch May 31, 2022 22:33
@github-actions github-actions bot mentioned this pull request May 31, 2022
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.

3 participants