aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/testdata
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2023-08-24 16:17:44 -0700
committerGopher Robot <gobot@golang.org>2023-08-25 16:38:07 +0000
commit99ea5b9765dc79e8d8f7e37bd55d6ab949eb739c (patch)
treeea91242465b34bc77921805d22c2226d07dde9f4 /src/runtime/testdata
parentb303fb48558612e5c2a1f10acbc0b1accdb8f260 (diff)
downloadgo-99ea5b9765dc79e8d8f7e37bd55d6ab949eb739c.tar.xz
cmd/compile: remove ErrorfVers and base.Flag.Lang hack
ErrorfVers used to be used by typecheck to report when new language functionality was used, but the -lang flag (from go.mod) was set to an older version. However, all of the callers have been since removed, now that this is handled by types2. And for the same reason, we can stop changing base.Flag.Lang. This was previously a workaround so that the unified frontend could generate arbitrary IR without upsetting typecheck, at a time when typecheck was itself a real frontend. Now it's just a glorified desugaring pass. Change-Id: I1c0316dbfe2e08ba089acd50fdfe20b17176be25 Reviewed-on: https://go-review.googlesource.com/c/go/+/522877 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Auto-Submit: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: Keith Randall <khr@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/testdata')
0 files changed, 0 insertions, 0 deletions