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

#562 Local functions in imp syntax #609

Merged
merged 4 commits into from
Jun 28, 2024

Conversation

imaqtkatt
Copy link
Contributor

No description provided.

@imaqtkatt imaqtkatt self-assigned this Jun 28, 2024
@imaqtkatt imaqtkatt linked an issue Jun 28, 2024 that may be closed by this pull request
Copy link
Member

@developedby developedby left a comment

Choose a reason for hiding this comment

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

I thought you'd go with the approach of doing this as a fun transformation, but this is also fine.
If we implement local functions in fun syntax in the future we might wanna move this over to have only one implementation of this pass.

src/imp/lift_local_defs.rs Outdated Show resolved Hide resolved
tests/golden_tests/desugar_file/main_aux.bend Show resolved Hide resolved
@developedby developedby added this pull request to the merge queue Jun 28, 2024
Merged via the queue into main with commit 82afbc0 Jun 28, 2024
5 checks passed
@imaqtkatt imaqtkatt deleted the 562-local-functions-in-imp-syntax branch June 28, 2024 15:54
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.

Add lambdas with statements / local functions in imp syntax
2 participants