mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile/internal/types2: remove Config.AllowTypeLists (cleanup)
This flag is not used anymore. Change-Id: Id083ffa4f0a3051d3f1905a211db8acaaf525cf4 Reviewed-on: https://go-review.googlesource.com/c/go/+/355931 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> Reviewed-by: Dan Scales <danscales@google.com>
This commit is contained in:
parent
4cbc0a5554
commit
440b63bd6f
2 changed files with 0 additions and 7 deletions
|
|
@ -44,7 +44,6 @@ func checkFiles(noders []*noder) (posMap, *types2.Package, *types2.Info) {
|
|||
GoVersion: base.Flag.Lang,
|
||||
IgnoreLabels: true, // parser already checked via syntax.CheckBranches mode
|
||||
CompilerErrorMessages: true, // use error strings matching existing compiler errors
|
||||
AllowTypeLists: true, // remove this line once all tests use type set syntax
|
||||
Error: func(err error) {
|
||||
terr := err.(types2.Error)
|
||||
base.ErrorfAt(m.makeXPos(terr.Pos), "%s", terr.Msg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue