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 3df27cd commit 4b787c8Copy full SHA for 4b787c8
src/reflect/value.go
@@ -156,7 +156,6 @@ func packEfaceData(v Value) unsafe.Pointer {
156
// unpackEface converts the empty interface i to a Value.
157
func unpackEface(i any) Value {
158
e := (*abi.EmptyInterface)(unsafe.Pointer(&i))
159
- // NOTE: don't read e.word until we know whether it is really a pointer or not.
160
t := e.Type
161
if t == nil {
162
return Value{}
0 commit comments