]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.unified] cmd/compile: refactor `range` desugaring
authorMatthew Dempsky <mdempsky@google.com>
Thu, 30 Jun 2022 02:23:34 +0000 (19:23 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 30 Jun 2022 18:42:33 +0000 (18:42 +0000)
commit0a503cf43a58e3a514f254c7dba1daf654557b17
tree78ffab3e487861515aa75644689f25e2a95551d2
parent3635b07d16c9fe3f344b3271fb3bf7029d8b4001
[dev.unified] cmd/compile: refactor `range` desugaring

This CL refactors the code responsible for emitting the user-visible
assignments within a range statement. This will make it easier to
propagate RTTI from the frontend into any implicit conversions.

Updates #53328.

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