From: Mateusz Poliwczak Date: Sat, 20 Sep 2025 06:14:49 +0000 (+0200) Subject: reflect: remove stale comment in unpackEface X-Git-Tag: go1.26rc1~805 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4b787c8c2bc8c9e774bf7836adb7877e3698f9d4;p=gostls13.git reflect: remove stale comment in unpackEface e.word (or more properly e.Data) is always a pointer now. Change-Id: I6a6a6964b17797e234829691ced842ab431ec38f Reviewed-on: https://go-review.googlesource.com/c/go/+/705535 Reviewed-by: Keith Randall Reviewed-by: Junyang Shao Reviewed-by: Keith Randall LUCI-TryBot-Result: Go LUCI --- diff --git a/src/reflect/value.go b/src/reflect/value.go index 818eacf9cf..c0ac45de77 100644 --- a/src/reflect/value.go +++ b/src/reflect/value.go @@ -156,7 +156,6 @@ func packEfaceData(v Value) unsafe.Pointer { // unpackEface converts the empty interface i to a Value. func unpackEface(i any) Value { e := (*abi.EmptyInterface)(unsafe.Pointer(&i)) - // NOTE: don't read e.word until we know whether it is really a pointer or not. t := e.Type if t == nil { return Value{}