mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 14:33:41 +00:00
reflect: add stubs for Method(), CanConvert(), ArrayOf()
This commit is contained in:
@@ -1027,6 +1027,10 @@ func (v Value) OverflowUint(x uint64) bool {
|
||||
panic(&ValueError{Method: "reflect.Value.OverflowUint", Kind: v.Kind()})
|
||||
}
|
||||
|
||||
func (v Value) CanConvert(t Type) bool {
|
||||
panic("unimplemented: (reflect.Value).CanConvert()")
|
||||
}
|
||||
|
||||
func (v Value) Convert(t Type) Value {
|
||||
panic("unimplemented: (reflect.Value).Convert()")
|
||||
}
|
||||
@@ -1445,6 +1449,10 @@ func (v Value) Call(in []Value) []Value {
|
||||
panic("unimplemented: (reflect.Value).Call()")
|
||||
}
|
||||
|
||||
func (v Value) Method(i int) Value {
|
||||
panic("unimplemented: (reflect.Value).Method()")
|
||||
}
|
||||
|
||||
func (v Value) MethodByName(name string) Value {
|
||||
panic("unimplemented: (reflect.Value).MethodByName()")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user