]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/types: remove Funarg
authorMatthew Dempsky <mdempsky@google.com>
Sun, 20 Aug 2023 21:06:17 +0000 (14:06 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 22 Aug 2023 20:43:28 +0000 (20:43 +0000)
commit98195ed057cfd30d5cb902766602c1230bb33384
tree45aadae7a5b611106ae87e6b18586772e5751e81
parent1f544ef0ebebd5bc19a8d4d1c6e09ccb01e59b95
cmd/compile/internal/types: remove Funarg

There's no need for the Funarg type anymore. A simple boolean suffices
to indicate whether a TSTRUCT represents a parameter tuple.

While here, rename Struct.Funarg to ParamTuple.

Change-Id: I657512d4ba10e51ec4cfd7c7d77e0194bdb0853b
Reviewed-on: https://go-review.googlesource.com/c/go/+/521315
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/types/fmt.go
src/cmd/compile/internal/types/type.go