]> Cypherpunks repositories - gostls13.git/commit
cmd/compile,cmd/gofmt: use reflect.TypeFor
authorapocelipes <seve3r@outlook.com>
Thu, 11 Sep 2025 19:08:37 +0000 (19:08 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 15 Sep 2025 12:13:05 +0000 (05:13 -0700)
commit30d510ca2de41fd7af21890ee23611b72048e462
treeec49c1511b9309a9addf5b1a47372d0b50ba234a
parent8320fe8f0e5283eb67429de30b4e24be6a85c7a7
cmd/compile,cmd/gofmt: use reflect.TypeFor

Use "reflect.TypeFor" to simplify the code.

Updates #60088

Change-Id: I93db6cbd4f02813d9a81f5d02996db8128cb81a9
GitHub-Last-Rev: 2aee64dac6e13ef869aa73f2abf236650e1c1757
GitHub-Pull-Request: golang/go#75349
Reviewed-on: https://go-review.googlesource.com/c/go/+/701676
Reviewed-by: Mark Freeman <markfreeman@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/base/flag.go
src/cmd/compile/internal/ir/fmt.go
src/cmd/compile/internal/rttype/rttype.go
src/cmd/gofmt/rewrite.go