]> Cypherpunks repositories - gostls13.git/commit
[dev.unified] cmd/compile/internal/walk: RType fields for range assignments
authorMatthew Dempsky <mdempsky@google.com>
Thu, 30 Jun 2022 21:49:28 +0000 (14:49 -0700)
committerGopher Robot <gobot@golang.org>
Fri, 1 Jul 2022 15:12:15 +0000 (15:12 +0000)
commitd667be88310de6f91d9f1a88d949ea6c5b48650d
tree635445c353259ed22b85a5e42cdd25c9ea3fb69b
parent1b838e95562b20c1268a3c9145d46510e034e61f
[dev.unified] cmd/compile/internal/walk: RType fields for range assignments

This CL adds extra fields to RangeStmt that can be used when
desugaring into primitive assignment statements. This will allow the
frontend to wire up all of the RTTI necessary, pulling from
dictionaries as necessary.

Updates #53328.

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