]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/typecheck: simplify tcAppend
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Mon, 8 Aug 2022 20:03:32 +0000 (03:03 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Tue, 9 Aug 2022 12:18:32 +0000 (12:18 +0000)
commit13bd6ddbe7a4fb24448546545da5df999267eb4e
tree6496406cc2bba3f3a88fe9497936e5de5ca88143
parent269906548310445132bbf2f14233485e3875e730
cmd/compile/internal/typecheck: simplify tcAppend

After CL 418514, Unified IR now always write concrete type of constant
expressions, thus we don't need to handle untyped string anymore.

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