aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/typecheck/typecheck.go
diff options
context:
space:
mode:
authorJay Conrod <jayconrod@google.com>2021-03-31 14:25:33 -0400
committerJay Conrod <jayconrod@google.com>2021-04-05 15:29:16 +0000
commit6ed045b365731e59fcae48de48f1aea7a6304eb3 (patch)
tree1165022356b7414f10b6300b0990dd30781a5a2f /src/cmd/compile/internal/typecheck/typecheck.go
parentee51e3d89520221fb572b54851f6c642df3bd4da (diff)
downloadgo-6ed045b365731e59fcae48de48f1aea7a6304eb3.tar.gz
go-6ed045b365731e59fcae48de48f1aea7a6304eb3.zip
cmd/go: refactor modload.CheckRetractions
Extract queryLatestVersionIgnoringRetractions, which returns the version we should load retractions and deprecations from. This will be shared with CheckDeprecations. Rename ShortRetractionRationale to ShortMessage. This will be used to shorten deprecation warnings as well. For #40357 Change-Id: Ic1e0c670396bdb3bd87c7a97cf2b14ca58ea1d80 Reviewed-on: https://go-review.googlesource.com/c/go/+/306332 Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/typecheck/typecheck.go')
0 files changed, 0 insertions, 0 deletions