reflect: tweak Type.String() for interfaces to make encoding/xml happy

Этот коммит содержится в:
Damian Gryski 2023-03-19 08:43:24 -07:00 коммит произвёл Damian Gryski
родитель 8fb5877d9e
коммит 57b0c21492

Просмотреть файл

@ -542,6 +542,9 @@ func (t *rawType) String() string {
} }
s += " }" s += " }"
return s return s
case Interface:
// TODO(dgryski): Needs actual method set info
return "interface {}"
default: default:
return t.Kind().String() return t.Kind().String()
} }