reflect: update type code type to uintptr

This type was missed after the recent interface updates.
Этот коммит содержится в:
Ayke van Laethem 2018-12-01 16:17:35 +01:00
родитель 469193735a
коммит 7bdb606d4f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: E97FF5335DFDFDED

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

@ -4,7 +4,7 @@ package reflect
//
// Not used directly. These types are all replaced with the number the compiler
// uses internally for the type.
type Kind uint16
type Kind uintptr
// Copied from reflect/type.go
// https://golang.org/src/reflect/type.go?s=8302:8316#L217
@ -39,7 +39,7 @@ const (
)
// The typecode as used in an interface{}.
type Type uint16
type Type uintptr
func TypeOf(i interface{}) Type {
return ValueOf(i).typecode