1
0
mirror of https://github.com/golang/go synced 2024-11-05 20:16:13 -07:00
go/test/typeparam/mdempsky
Robert Griesemer 46e3d9d12a cmd/compile: use "satisfies" (not "implements") for constraint errors
Per the latest spec, we distinguish between interface implementation
and constraint satisfaction. Use the verb "satisfy" when reporting
an error about failing constraint satisfaction.

This CL only changes error messages. It has no impact on correct code.

Fixes #57564.

Change-Id: I6dfb3b2093c2e04fe5566628315fb5f6bd709f17
Reviewed-on: https://go-review.googlesource.com/c/go/+/460396
Reviewed-by: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Griesemer <gri@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2023-01-04 19:07:27 +00:00
..
1.dir
3.dir
4.dir
7.dir
8.dir cmd/compile: use "satisfies" (not "implements") for constraint errors 2023-01-04 19:07:27 +00:00
10.dir
12.dir
1.go
2.go
3.go
4.go
5.go
6.go
7.go
8.go
9.go
10.go
12.go
13.go cmd/compile: fix wrong dict param when getting dict type 2022-03-14 17:55:47 +00:00
14.go
15.go
16.go [dev.unified] test: add regress tests for #53276 and #53328 2022-06-10 21:35:49 +00:00
17.go [dev.unified] test: add regress tests for #53276 and #53328 2022-06-10 21:35:49 +00:00
18.go [dev.unified] test: add regress test for generic select statements 2022-06-29 19:33:57 +00:00
18.out [dev.unified] test: add regress test for generic select statements 2022-06-29 19:33:57 +00:00
19.go test: add test case for type parameter method indexing 2022-08-08 17:39:25 +00:00
20.go test: test method expressions promoted to derived types 2022-08-09 16:42:12 +00:00
21.go cmd/compile: fix devirtualization bug with unified IR 2022-08-18 17:26:32 +00:00