-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Go feature set handling in editions for checks
This fixes the handling of the Go feature set in editions for use with checks. Dynamic types would cause the google.golang.org/protobuf library to panic when trying to fetch the Go feature extension. This is a temporary workaround until upstream can be resolved. See the issue: golang/protobuf#1669 When resolving file descriptors for checks, we now check for use of google/protobuf/go_features.proto and reparse extensions with a resolver targetted at the gofeaturespb package. This ensure the types will match the ones set in the extension type gofeaturespb.E_go. Fixes #3580
- Loading branch information
1 parent
c60d858
commit 8fc576e
Showing
5 changed files
with
181 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters