diff options
| author | Robert Griesemer <gri@golang.org> | 2022-09-27 20:07:30 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-09-28 10:36:02 +0000 |
| commit | dbe56ff6c7a0162f318ed2dd7331c9de82e11d6d (patch) | |
| tree | 4a14d580e764744f2422f78408330b6f450b98b2 /src/runtime/coverage | |
| parent | 2c4c2a5106e16a2ef51e3fc1d846e5d75d7ee6cc (diff) | |
| download | go-dbe56ff6c7a0162f318ed2dd7331c9de82e11d6d.tar.xz | |
go/types, types2: use "invalid operation: x rel y (cause)" for comparison error messages
Matches compiler behavior and is consistent with what we do with other
binary operations.
While at it, also use parentheses rather than a colon for a couple of
errors caused by not having a core type.
For #55326.
Change-Id: I0a5cec1a31ffda98d363e5528791965a1ccb5842
Reviewed-on: https://go-review.googlesource.com/c/go/+/435618
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Robert Griesemer <gri@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
Diffstat (limited to 'src/runtime/coverage')
0 files changed, 0 insertions, 0 deletions
