]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/types: separate printing of structs and tuples
authorMatthew Dempsky <mdempsky@google.com>
Sun, 20 Aug 2023 21:10:38 +0000 (14:10 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 22 Aug 2023 20:43:37 +0000 (20:43 +0000)
commit6f7caf8894a4c8c15a011b06373178f8b031edf6
treee1501c4c4ef8a1984c7ce1737bb95d33aeeb054b
parent98195ed057cfd30d5cb902766602c1230bb33384
cmd/compile/internal/types: separate printing of structs and tuples

This CL changes the pretty printer to not rely on parameter lists
being represented as TSTRUCTs.

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