From 0430d694e04ae06ca14b27b50e83674d07e2e662 Mon Sep 17 00:00:00 2001 From: Noriaki Date: Fri, 27 Jan 2023 08:31:41 +0900 Subject: [PATCH] internal/impl: remove the unreachable line of code Change-Id: Ie929703894858848c8465e0889d4fab04c1facc9 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/463795 Reviewed-by: Damien Neil Reviewed-by: Lasse Folger --- internal/impl/convert.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/impl/convert.go b/internal/impl/convert.go index 11a6128ba..185ef2efa 100644 --- a/internal/impl/convert.go +++ b/internal/impl/convert.go @@ -59,7 +59,6 @@ func NewConverter(t reflect.Type, fd protoreflect.FieldDescriptor) Converter { default: return newSingularConverter(t, fd) } - panic(fmt.Sprintf("invalid Go type %v for field %v", t, fd.FullName())) } var (