summaryrefslogtreecommitdiff
path: root/src/cmd/go/internal/modfetch/codehost/codehost.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2020-12-07 00:04:54 -0500
committerRuss Cox <rsc@golang.org>2020-12-09 17:05:19 +0000
commit0c4944066411c5570ad9e7b66ae414f409d5d826 (patch)
treeac474c68daacf5215caa825b42ffde59c235961e /src/cmd/go/internal/modfetch/codehost/codehost.go
parent4090af83c57c857de600ada68e7a27dffd37d8b1 (diff)
downloadgo-git-0c4944066411c5570ad9e7b66ae414f409d5d826.tar.gz
[dev.regabi] cmd/compile: arrange for walkstmt, walkexpr, to return from switch cases
Ending them in a returning switch makes it safe for each case to do an appropriate type assertion. Passes buildall w/ toolstash -cmp. Change-Id: I55d8f0a555006104164d84d27822aa8c5ad68515 Reviewed-on: https://go-review.googlesource.com/c/go/+/275882 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/cmd/go/internal/modfetch/codehost/codehost.go')
0 files changed, 0 insertions, 0 deletions