]> Cypherpunks repositories - gostls13.git/commit
go/types: remove support for "ERROR HERE" error markers in tests
authorRobert Griesemer <gri@golang.org>
Thu, 25 Aug 2022 20:48:42 +0000 (13:48 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 25 Aug 2022 21:07:24 +0000 (21:07 +0000)
commit73a55c17049a2c12e5368790e178c32363743dd8
treec81829635a230a4faeeec797f55a1be48b46c1c9
parent04eb35998a3a999c830969f802744ab9274714a8
go/types: remove support for "ERROR HERE" error markers in tests

There are only two tests that rely on the "ERROR HERE" markers;
yet those tests are trivialy adjustable (by adding an explicit
semicolon) such that they can just use the "ERROR" markers.

For #54511.

Change-Id: Idbb96ca8d35ae2584d195a4ac7c92640b8b492c5
Reviewed-on: https://go-review.googlesource.com/c/go/+/425674
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>
src/go/types/check_test.go
src/go/types/testdata/check/stmt0.go