Skip to content

Emit nonisolated diagnostic in default MainActor modules - #344

Open
stephencelis wants to merge 2 commits into
mainfrom
isolation-checks
Open

Emit nonisolated diagnostic in default MainActor modules#344
stephencelis wants to merge 2 commits into
mainfrom
isolation-checks

Conversation

@stephencelis

Copy link
Copy Markdown
Member

We currently document that @DatabaseFunctions must be nonisolated in default MainActor modules, so let's enforce it early at compile time instead.

@stephencelis
stephencelis requested a review from mbrandonw August 4, 2026 21:05
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.

1 participant