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 export functions getting implicit empty blocks #592

Merged
merged 1 commit into from
Jul 24, 2023
Merged

Conversation

edemaine
Copy link
Collaborator

Fixes #591 introduced by #542: exported functions should never get an implicit empty block.

Also refactored some ancestor finding code. (At some point I used the refactored code for this purpose, but then realized I didn't really need to recurse, only check parent. Still, should be useful for more hoisting later.)

Fixes #591 introduced by #542:
exported functions should never get an implicit empty block.

Also refactored some ancestor finding code.
@edemaine edemaine temporarily deployed to build July 24, 2023 12:52 — with GitHub Actions Inactive
@STRd6
Copy link
Contributor

STRd6 commented Jul 24, 2023

Thanks for the fix!

@edemaine edemaine merged commit 0cc0621 into main Jul 24, 2023
@edemaine edemaine deleted the export-decl branch July 24, 2023 19:55
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.

regression? export overloaded function stopped working
2 participants