]> Cypherpunks.ru repositories - gostls13.git/commit
reflect: deprecate PtrTo
authorqiulaidongfeng <2645477756@qq.com>
Wed, 26 Jul 2023 05:59:50 +0000 (05:59 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 27 Jul 2023 23:28:51 +0000 (23:28 +0000)
commit93ec88160ecd6da1d2bf5b9c029abf0e256484e9
tree22ec651e0aa67587e1fdda9fcd718f669317dc2d
parent737a5b0eaaff9098a41c04bcee5585678766bfae
reflect: deprecate PtrTo

Replace reflect.PtrTo with reflect.PointerTo.

Fixes #59599

Change-Id: I49407193e2050543ef983cd637703acc682d9f51

Change-Id: I49407193e2050543ef983cd637703acc682d9f51
GitHub-Last-Rev: 7bc9ccf1dcb4b444406430b451ad4c47c6ec1be2
GitHub-Pull-Request: golang/go#61440
Reviewed-on: https://go-review.googlesource.com/c/go/+/511035
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
api/next/59599.txt [new file with mode: 0644]
src/cmd/compile/internal/reflectdata/reflect.go
src/encoding/gob/decode.go
src/reflect/type.go