Browse Source

Add reflect.Value.FieldByIndexErr stub

pull/1397/head
Elliott Sales de Andrade 3 years ago
committed by Ron Evans
parent
commit
f159573975
  1. 5
      src/reflect/value.go

5
src/reflect/value.go

@ -861,6 +861,11 @@ func (v Value) FieldByIndex(index []int) Value {
panic("unimplemented: (reflect.Value).FieldByIndex()")
}
// FieldByIndexErr returns the nested field corresponding to index.
func (v Value) FieldByIndexErr(index []int) (Value, error) {
return Value{}, &ValueError{Method: "FieldByIndexErr"}
}
func (v Value) FieldByName(name string) Value {
panic("unimplemented: (reflect.Value).FieldByName()")
}

Loading…
Cancel
Save