internal/unify: fix Summands for sum of sums Right now, Closure.Summands only iterates over a top-level sum. Fix it so it can handle sums of sums. This is going to start coming up since !imports tend to lead to sums of sums. Change-Id: Ie67ced083d6d5b814e3ad77b089c4adb2591c568 Reviewed-on: https://go-review.googlesource.com/c/arch/+/693343 Auto-Submit: Austin Clements <austin@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Junyang Shao <shaojunyang@google.com>
This repository holds machine architecture information used by the Go toolchain. The parts needed in the main Go repository are copied in.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/arch.
The main issue tracker for the arch repository is located at https://go.dev/issues. Prefix your issue with “x/arch:” in the subject line, so it is easy to find.