We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b38da5c commit c7ab5ccCopy full SHA for c7ab5cc
vm/runtime/runtime.go
@@ -137,8 +137,6 @@ func FetchMethod(from any, method *Method) any {
137
panic(fmt.Sprintf("cannot fetch %v from %T", method.Name, from))
138
}
139
140
-var reflectTypeSliceOfAny = reflect.SliceOf(reflect.TypeOf(new(any)).Elem())
141
-
142
func Slice(array, from, to any) any {
143
v := reflect.ValueOf(array)
144
0 commit comments