mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-18 03:24:00 +00:00
reflect: add stubs required for net/http
This commit is contained in:
committed by
GitHub
parent
78d030aa7a
commit
793a3175d3
@@ -0,0 +1,5 @@
|
|||||||
|
package reflect
|
||||||
|
|
||||||
|
func MakeFunc(typ Type, fn func(args []Value) (results []Value)) Value {
|
||||||
|
panic("unimplemented: reflect.MakeFunc()")
|
||||||
|
}
|
||||||
@@ -840,3 +840,7 @@ func (v Value) FieldByName(name string) Value {
|
|||||||
func MakeMap(typ Type) Value {
|
func MakeMap(typ Type) Value {
|
||||||
panic("unimplemented: reflect.MakeMap()")
|
panic("unimplemented: reflect.MakeMap()")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (v Value) Call(in []Value) []Value {
|
||||||
|
panic("unimplemented: (reflect.Value).Call()")
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user