mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-18 03:24:00 +00:00
Add reflect.Value.FieldByIndexErr stub
This commit is contained in:
committed by
Ron Evans
parent
234234af15
commit
f159573975
@@ -861,6 +861,11 @@ func (v Value) FieldByIndex(index []int) Value {
|
|||||||
panic("unimplemented: (reflect.Value).FieldByIndex()")
|
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 {
|
func (v Value) FieldByName(name string) Value {
|
||||||
panic("unimplemented: (reflect.Value).FieldByName()")
|
panic("unimplemented: (reflect.Value).FieldByName()")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user