aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2022-05-10 16:06:16 -0700
committerMatthew Dempsky <mdempsky@google.com>2022-05-13 21:28:41 +0000
commite99275241c4e4bde6ff2a8598e558a2bea151ef7 (patch)
treee2aa1f06cbc8dc5d4fcfb4af44dc36e3fd6d7907 /src/database/sql
parent80f3e3deba619fcf0ddcb547c61c9cbbd8b81968 (diff)
downloadgo-e99275241c4e4bde6ff2a8598e558a2bea151ef7.tar.xz
cmd/compile/internal/types: change NewTypeParam to match New{Basic,Named}
NewBasic and NewNamed take an Object (i.e., *ir.Name), so that callers don't need to call SetNod. This CL changes NewTypeParam to follow the same convention. Following up on recent Ntype removal, this allows getting rid of Type.SetNod entirely. While here, Type.SetSym is unused too. Change-Id: Ibe0f5747e2ab4a9512b65142b6d3006704b60bd3 Reviewed-on: https://go-review.googlesource.com/c/go/+/405654 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: David Chase <drchase@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions