reflect: add stubs required for net/http

This commit is contained in:
Federico G. Schwindt
2021-06-02 12:28:38 +01:00
committed by GitHub
parent 78d030aa7a
commit 793a3175d3
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
package reflect
func MakeFunc(typ Type, fn func(args []Value) (results []Value)) Value {
panic("unimplemented: reflect.MakeFunc()")
}
+4
View File
@@ -840,3 +840,7 @@ func (v Value) FieldByName(name string) Value {
func MakeMap(typ Type) Value {
panic("unimplemented: reflect.MakeMap()")
}
func (v Value) Call(in []Value) []Value {
panic("unimplemented: (reflect.Value).Call()")
}