Skip to content

fix: Accept imports after declarations#2178

Merged
dcodeIO merged 1 commit intomasterfrom
patch/import-after-decl
Apr 27, 2026
Merged

fix: Accept imports after declarations#2178
dcodeIO merged 1 commit intomasterfrom
patch/import-after-decl

Conversation

@dcodeIO
Copy link
Copy Markdown
Member

@dcodeIO dcodeIO commented Apr 27, 2026

Allows top-level imports to appear after other declarations, matching the proto grammar and protoc behavior.

Fixes #2069

@dcodeIO dcodeIO merged commit 24651c9 into master Apr 27, 2026
4 checks passed
@github-actions github-actions Bot mentioned this pull request Apr 27, 2026
@dcodeIO dcodeIO deleted the patch/import-after-decl branch April 29, 2026 15:22
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.

illegal token 'import' when imports follow messages

1 participant