aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/types2/check_test.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2021-04-01 18:39:39 -0700
committerRobert Griesemer <gri@golang.org>2021-04-07 05:19:15 +0000
commit7d5c54eee4718ccc1790fa9ab92bf091e9d56ef7 (patch)
tree4981b03e55db11aca68549ef4948a619cddf2a03 /src/cmd/compile/internal/types2/check_test.go
parentbce85b701153f7671f0e362288ad5c8fdad15093 (diff)
downloadgo-7d5c54eee4718ccc1790fa9ab92bf091e9d56ef7.tar.gz
go-7d5c54eee4718ccc1790fa9ab92bf091e9d56ef7.zip
cmd/compile/internal/types2: remove Config.InferFromConstraints flag
Constraint type inference is part of the proposed language. Use an internal flag to control the feayure for debugging. Change-Id: I7a9eaee92b5ffc23c25d9e68a729acc0d705e879 Reviewed-on: https://go-review.googlesource.com/c/go/+/306770 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'src/cmd/compile/internal/types2/check_test.go')
-rw-r--r--src/cmd/compile/internal/types2/check_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/types2/check_test.go b/src/cmd/compile/internal/types2/check_test.go
index ac21c3458e..a6baa71b2a 100644
--- a/src/cmd/compile/internal/types2/check_test.go
+++ b/src/cmd/compile/internal/types2/check_test.go
@@ -129,7 +129,6 @@ func checkFiles(t *testing.T, filenames []string, goVersion string, colDelta uin
var conf Config
conf.GoVersion = goVersion
conf.AcceptMethodTypeParams = true
- conf.InferFromConstraints = true
// special case for importC.src
if len(filenames) == 1 && strings.HasSuffix(filenames[0], "importC.src") {
conf.FakeImportC = true