reflect: Chan related stubs

This commit is contained in:
Ömer Faruk IRMAK
2025-05-28 10:32:52 +03:00
committed by Ron Evans
parent 87153e9a02
commit 1976d9e3fe
2 changed files with 12 additions and 0 deletions
+4
View File
@@ -529,3 +529,7 @@ func FuncOf(in, out []Type, variadic bool) Type {
return toType(reflectlite.FuncOf(rawIn, rawOut, variadic))
}
func ChanOf(dir ChanDir, t Type) Type {
panic("unimplemented: reflect.ChanOf")
}
+8
View File
@@ -178,6 +178,10 @@ func (v Value) Send(x Value) {
panic("unimplemented: reflect.Value.Send()")
}
func (v Value) TrySend(x Value) bool {
panic("unimplemented: reflect.Value.TrySend()")
}
func (v Value) Close() {
panic("unimplemented: reflect.Value.Close()")
}
@@ -217,6 +221,10 @@ func (v Value) Recv() (x Value, ok bool) {
panic("unimplemented: (reflect.Value).Recv()")
}
func (v Value) TryRecv() (x Value, ok bool) {
panic("unimplemented: (reflect.Value).TryRecv()")
}
func NewAt(typ Type, p unsafe.Pointer) Value {
panic("unimplemented: reflect.New()")
}