protobuf-go/internal/filedesc
Damien Neil 95758c0892 internal/filetype, internal/filedesc: avoid gccgo bug
Returning an anonymous struct is tickling a gccgo bug:
https://github.com/golang/go/issues/33866

Change to a named type. We could make the type unexpoerted, but this is
an internal package anyway so leave it exported for general style
cleanliness.

Change-Id: Idf33f1e354c0e07066ab68640308af1498a01447
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/191960
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2019-08-27 19:57:09 +00:00
..
build_test.go all: implement proto1 weak fields 2019-07-15 18:44:12 +00:00
build.go internal/filetype, internal/filedesc: avoid gccgo bug 2019-08-27 19:57:09 +00:00
desc_init.go internal/filedesc, internal/filetype: rename {Desc,Type}Builder as Builder 2019-08-05 23:43:37 +00:00
desc_lazy.go internal/filedesc, internal/filetype: rename {Desc,Type}Builder as Builder 2019-08-05 23:43:37 +00:00
desc_list_gen.go internal/filedesc, internal/filetype: initial commit 2019-06-20 02:06:11 +00:00
desc_list.go reflect/protoreflect: add FileDescriptor.SourceLocations 2019-07-13 00:15:59 +00:00
desc_test.go internal/filedesc, internal/filetype: rename {Desc,Type}Builder as Builder 2019-08-05 23:43:37 +00:00
desc.go internal/filedesc: defer evaluation of weak reference until actual use 2019-08-05 21:31:06 +00:00
placeholder.go reflect/protoreflect: add FileDescriptor.SourceLocations 2019-07-13 00:15:59 +00:00