]> Cypherpunks repositories - gostls13.git/commit
go/parser: correct comment in expectedErrors
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Tue, 5 Aug 2025 16:51:09 +0000 (18:51 +0200)
committerGopher Robot <gobot@golang.org>
Tue, 5 Aug 2025 17:41:10 +0000 (10:41 -0700)
commitc0025d5e0b3f6fca7117e9b8f4593a95e37a9fa5
tree67aad7887f1d2c4f2b3275f1ab11c1607cc655a6
parent4ee0df8c466861bcd258ec55b58283f276d3b3d5
go/parser: correct comment in expectedErrors

If `here` were already the start of the comment, then
the `pos = here` assignment would be redundant. Since pos
is already the start of the comment.

Change-Id: I793334988951ae5441327cb62d7524b423155b74
Reviewed-on: https://go-review.googlesource.com/c/go/+/693295
Reviewed-by: Alan Donovan <adonovan@google.com>
Commit-Queue: Alan Donovan <adonovan@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
src/go/parser/error_test.go