1
0
mirror of https://github.com/golang/go synced 2024-11-11 20:50:23 -07:00
go/test/syntax
Robert Griesemer aa5ff29dab go/parser: adjustments to error messages
- Use "expected X" rather then "expecting X".
- Report a better error when a type argument list is expected.
- Adjust various tests.

For #54511.

Change-Id: I0c5ca66ecbbdcae1a8f67377682aae6b0b6ab89a
Reviewed-on: https://go-review.googlesource.com/c/go/+/425734
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
2022-09-01 22:37:04 +00:00
..
chan1.go
chan.go
composite.go cmd/compile/internal/syntax: better errors for syntax errors in lists 2022-03-31 00:26:58 +00:00
ddd.go go/parser: adjustments to error messages 2022-09-01 22:37:04 +00:00
else.go
if.go
import.go
initvar.go
semi1.go
semi2.go
semi3.go
semi4.go go/parser: adjustments to error messages 2022-09-01 22:37:04 +00:00
semi5.go
semi6.go test: match gofrontend error messages 2020-12-02 02:56:41 +00:00
semi7.go
topexpr.go
typesw.go
vareq1.go
vareq.go