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

Don't coalesce coroutines in a package #71

Merged
merged 1 commit into from
Sep 25, 2023
Merged

Don't coalesce coroutines in a package #71

merged 1 commit into from
Sep 25, 2023

Conversation

chriso
Copy link
Contributor

@chriso chriso commented Sep 25, 2023

This PR updates the compiler to generate an extra file for each package file that contains a coroutine. Previously we were coalescing all coroutines into one file per package, which meant we had to deal with import name clashes.

As part of this change, I've also removed the extra file per package that defines function types. Function types are now registered in each generated file.

@chriso chriso merged commit 59612ee into main Sep 25, 2023
2 checks passed
@chriso chriso deleted the per-file branch September 25, 2023 17:29
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.

2 participants