From 9a33945f2cc4b2108defdcdea80dc0ebe5af3c24 Mon Sep 17 00:00:00 2001 From: Robert Findley Date: Wed, 17 Nov 2021 10:42:13 -0500 Subject: [PATCH] go/types: set tparamsIsIface to true This is a port of CL 363155 from types2 to go/types. Change-Id: Ic24f8c88513599c8f4685f0b66d3782ac4e6831a Reviewed-on: https://go-review.googlesource.com/c/go/+/364717 Trust: Robert Findley Run-TryBot: Robert Findley TryBot-Result: Go Bot Reviewed-by: Robert Griesemer --- src/go/types/typeparam.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/go/types/typeparam.go b/src/go/types/typeparam.go index 084130fc74..f000d8f108 100644 --- a/src/go/types/typeparam.go +++ b/src/go/types/typeparam.go @@ -13,7 +13,7 @@ import ( // is the underlying type of its type constraint, i.e., // an interface. With that, a type parameter satisfies // isInterface. -const tparamIsIface = false +const tparamIsIface = true // Note: This is a uint32 rather than a uint64 because the // respective 64 bit atomic instructions are not available -- 2.50.0