Skip to content

Fix a few more conformance issues#693

Open
doriable wants to merge 2 commits intomainfrom
more-conformance-fixes
Open

Fix a few more conformance issues#693
doriable wants to merge 2 commits intomainfrom
more-conformance-fixes

Conversation

@doriable
Copy link
Copy Markdown
Member

@doriable doriable commented Mar 30, 2026

This PR fixes a couple more conformance issues found through the broader test suite:

  • A bug in fdp where comments attribution should be checking for R{Paren,Bracket,Brace} rather than L{Paren,Bracket,Brace}
  • A bug in fdp where the wrong tag was used for message extensions
  • proto3_optional should be set on a field for explicit presence
  • A small bug in ir_test.go where the source code info location should set trailing comments
  • We fixed allowing prefixed group fields in the lexer, but we also need to handle the prefix in the lowering step for prefixed group fields
  • Fix a TODO to resolve group fields

This PR fixes a couple more conformance issues found through the broader
test suite:
- A bug in `fdp` where comments attribution should be checking for
  `R{Paren,Bracket,Brace}` rather than `L{Paren,Bracket,Brace}`
- `proto3_optional` should be set on a field for explicit presence
- A small bug in `ir_test.go` where the source code info location should
  set trailing comments
- We fixed allowing prefixed group fields in the lexer, but we also need
  to handle the prefix in the lowering step for prefixed group fields
- Fix a `TODO` to resolve group fields
@doriable doriable requested a review from mcy March 30, 2026 22:02
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