diff options
| author | Robert Griesemer <gri@golang.org> | 2024-05-22 10:26:49 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-05-22 19:45:33 +0000 |
| commit | 6861b2eff58955c7f67a262864c09056a7bdec04 (patch) | |
| tree | aa299861a50af609c27c73525f5aeb56cbca4db8 /src/runtime | |
| parent | 8d464e4ae36c09acfd73a5e3b6dc5a34b6f0202b (diff) | |
| download | go-6861b2eff58955c7f67a262864c09056a7bdec04.tar.xz | |
go/types, types2: better error message for invalid ERROR pattern in tests
When unquoting of an ERROR or ERRORx pattern fails, say so instead of
simply printing "syntax error".
Change-Id: I586dffa86ca80f5b40a5cbe16a7005cc1f7862f8
Reviewed-on: https://go-review.googlesource.com/c/go/+/586958
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
