]> Cypherpunks repositories - gostls13.git/commit
go/types: don't declare 'comparable' when typeparams are disabled
authorRob Findley <rfindley@google.com>
Sun, 30 May 2021 02:14:12 +0000 (22:14 -0400)
committerRobert Findley <rfindley@google.com>
Sun, 30 May 2021 17:47:50 +0000 (17:47 +0000)
commit3b770f2ccb1fa6fecc22ea822a19447b10b70c5c
tree707259bad90b8d44e2b25b2070929d056c598302
parent1607c2817241bd141af9331a3e6c3148e5cd5d8b
go/types: don't declare 'comparable' when typeparams are disabled

Fixes #46453

Change-Id: I92b9b1e43ec5182162b2eeeb667f1f548ea373a5
Reviewed-on: https://go-review.googlesource.com/c/go/+/323609
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>
src/go/types/check_test.go
src/go/types/universe.go