diff options
Diffstat (limited to 'src/reflect/value.go')
-rw-r--r-- | src/reflect/value.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflect/value.go b/src/reflect/value.go index 51128b81e..577a944ba 100644 --- a/src/reflect/value.go +++ b/src/reflect/value.go @@ -92,7 +92,7 @@ func (v Value) Pointer() uintptr { } func (v Value) IsValid() bool { - panic("unimplemented: (reflect.Value).IsValid()") + return v.typecode != 0 } func (v Value) CanInterface() bool { |