reflect.call: internal/abi: TFlagClosure, internal/lib/reflect: flagClosure.
This commit is contained in:
@@ -439,4 +439,8 @@ func isDirectIface(t *_type) bool {
|
||||
return t.Kind_&abi.KindDirectIface != 0
|
||||
}
|
||||
|
||||
func SetClosure(t *abi.Type) {
|
||||
t.TFlag |= abi.TFlagClosure
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user