protobuf-go/internal/filedesc
Lasse Folger 671c2db939 [proto] use the correct parent when resolving features for extensions
When I implemented this initially, I thought the parent of an extension is the
extendee. This is incorrect. The parent is the scope in which the extension is
defined. This CL changes the code to use the correct parent. This also allows
us to reduce some complexity in the implementation because we don't need to
wait until the extendee is resolved before we can resolve the features.

Change-Id: I6d7012f7502ef95457ab96f3e8abc4ab763d5bcb
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/579275
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Stapelberg <stapelberg@google.com>
Auto-Submit: Lasse Folger <lassefolger@google.com>
2024-04-16 13:33:29 +00:00
..
build_test.go
build.go
desc_init.go [proto] use the correct parent when resolving features for extensions 2024-04-16 13:33:29 +00:00
desc_lazy.go
desc_list_gen.go
desc_list.go
desc_test.go all: implement proto2/proto3 as editions [2/2] 2024-03-19 12:54:36 +00:00
desc.go [proto] use the correct parent when resolving features for extensions 2024-04-16 13:33:29 +00:00
editions.go protobuf: fix required/group bug in descriptor proto output of editions files 2024-04-05 07:47:23 +00:00
placeholder.go all: implement proto2/proto3 as editions [2/2] 2024-03-19 12:54:36 +00:00