]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/typecheck: avoid use of Name.Ntype for assignments
authorMatthew Dempsky <mdempsky@google.com>
Tue, 3 May 2022 00:36:04 +0000 (17:36 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 5 May 2022 18:48:08 +0000 (18:48 +0000)
commit115c3bfad55809a27009f9ea6f95970ff94164f0
tree377d0397ea049411209d882d87296f2d4f37ec22
parent53647a1994184e471988b53f1a98c02bd6c609df
cmd/compile/internal/typecheck: avoid use of Name.Ntype for assignments

Prep refactoring for the next CL, which removes Name.Ntype
entirely. Pulled out separately because this logic is a little subtle,
so this should be easier to bisect in case there's something I'm
missing here.

Change-Id: I4ffec6ee62fcd036582e8d2c963edcbd8bac184f
Reviewed-on: https://go-review.googlesource.com/c/go/+/403837
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/typecheck/stmt.go