Skip to content

Implement validation for extend blocks#612

Merged
mcy merged 3 commits into
mainfrom
mcy/proto3-extensions
Oct 17, 2025
Merged

Implement validation for extend blocks#612
mcy merged 3 commits into
mainfrom
mcy/proto3-extensions

Conversation

@mcy

@mcy mcy commented Oct 16, 2025

Copy link
Copy Markdown
Member

This PR makes sure that:

  1. extend blocks are nonempty.
  2. In proto3 only, the extendee is an options message.

I've also added ir.Extend, which is necessary to have a place to access all of the information connected to an extend block.

@mcy
mcy requested a review from emcfarlane October 16, 2025 21:43
@mcy
mcy enabled auto-merge (squash) October 17, 2025 19:57
@mcy
mcy merged commit 6da99d8 into main Oct 17, 2025
6 checks passed
@mcy
mcy deleted the mcy/proto3-extensions branch October 17, 2025 20:01
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