]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modload: remove go116EnableNarrowAll constant
authorBryan C. Mills <bcmills@google.com>
Fri, 19 Mar 2021 19:55:30 +0000 (15:55 -0400)
committerBryan C. Mills <bcmills@google.com>
Mon, 22 Mar 2021 15:24:20 +0000 (15:24 +0000)
commite838c76a6ea99007b872669b06590a41278f6188
treecb9c3a5344fb09f95fbb92401f48213d05321f4a
parentd8394bfc7fa728da9654f5e902df03a29d2a03ca
cmd/go/internal/modload: remove go116EnableNarrowAll constant

This constant existed in case there was a serious problem with the
change to the "all" pattern in Go 1.16 (CL 240623), so that we could
roll back the change in behavior by just flipping the constant without
introducing merge conflicts elsewhere.

Go 1.16 has been out for a while and the new "all" behavior seems fine,
so we can jettison this feature flag.

For #36460

Change-Id: Ic2730edcee81514d56c7086e11542468eb63c84a
Reviewed-on: https://go-review.googlesource.com/c/go/+/303431
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/internal/modload/modfile.go