reflect: stub out reflect.New and reflect.Zero

This commit is contained in:
Tomer Elmalem
2019-05-29 18:53:23 -07:00
committed by Ayke van Laethem
parent 1d7cc2c242
commit 1047c9bd05
+8
View File
@@ -502,6 +502,14 @@ func MakeSlice(typ Type, len, cap int) Value {
panic("unimplemented: reflect.MakeSlice()")
}
func Zero(typ Type) Value {
panic("unimplemented: reflect.Zero()")
}
func New(typ Type) Value {
panic("unimplemented: reflect.New()")
}
type funcHeader struct {
Context unsafe.Pointer
Code unsafe.Pointer