mirror of https://github.com/golang/go.git
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 <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
88474d47dd
commit
9a33945f2c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue