diff --git a/README.md b/README.md index 09729729..918d1cce 100644 --- a/README.md +++ b/README.md @@ -213,6 +213,7 @@ Here are the Go packages that can be imported correctly: * [sync](https://pkg.go.dev/sync) (partially) * [syscall](https://pkg.go.dev/syscall) (partially) * [os](https://pkg.go.dev/os) (partially) +* [reflect](https://pkg.go.dev/reflect) (partially) ## Dependencies diff --git a/internal/lib/reflect/type.go b/internal/lib/reflect/type.go index 92d95359..0a5a6e71 100644 --- a/internal/lib/reflect/type.go +++ b/internal/lib/reflect/type.go @@ -423,14 +423,7 @@ var kindNames = []string{ } func (t *rtype) String() string { - /* - s := t.nameOff(t.t.Str).Name() - if t.t.TFlag&abi.TFlagExtraStar != 0 { - return s[1:] - } - return s - */ - panic("todo") + return t.t.String() } func (t *rtype) Size() uintptr { return t.t.Size() }