]> Cypherpunks repositories - gostls13.git/commit
Revert "go/types, types2: remove internal constant enableInterfaceInference"
authorRobert Griesemer <gri@golang.org>
Wed, 16 Aug 2023 18:17:01 +0000 (11:17 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 17 Aug 2023 23:32:40 +0000 (23:32 +0000)
commit60dd831103cbb98acc322804847306ab7ce8e048
tree433cf7e2d4c8906c99de6f58ee00653ad6c23352
parentab3332eea9cff20b465193a3ef3a8f6ce796da2f
Revert "go/types, types2: remove internal constant enableInterfaceInference"

This reverts CL 514715.

This will make it easier to make interface inference conditional
based on the current language version.

For #61903.

Change-Id: I07820c861d6ebfd04899e41eb4123f26af2da1ee
Reviewed-on: https://go-review.googlesource.com/c/go/+/520195
Reviewed-by: Robert Findley <rfindley@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Griesemer <gri@google.com>
src/cmd/compile/internal/types2/unify.go
src/go/types/unify.go