Browse Source

reflect: add stubs required for net/http

pull/1928/head
Federico G. Schwindt 3 years ago
committed by GitHub
parent
commit
793a3175d3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/reflect/makefunc.go
  2. 4
      src/reflect/value.go

5
src/reflect/makefunc.go

@ -0,0 +1,5 @@
package reflect
func MakeFunc(typ Type, fn func(args []Value) (results []Value)) Value {
panic("unimplemented: reflect.MakeFunc()")
}

4
src/reflect/value.go

@ -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()")
}

Loading…
Cancel
Save