]> Cypherpunks.ru repositories - gostls13.git/commit
go/token: correct the interval notation used in some panic messages
authorRob Findley <rfindley@google.com>
Mon, 17 May 2021 20:11:51 +0000 (16:11 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 17 May 2021 22:19:03 +0000 (22:19 +0000)
commitbfe3573d58d7c49c4d58e0ab392eb0b5a660d262
treed12468be265fd82508414dbe53dc0534686b35e5
parenta2c07a9a1a445c28fa4db9bd1472b28cad3ca818
go/token: correct the interval notation used in some panic messages

Fix an apparent typo for the right-hand bound in a couple panic
messages, where '[' was used instead of ']'.

Fixes #46215

Change-Id: Ie419c404ca72ed085a83a2c38ea1a5d6ed326cca
Reviewed-on: https://go-review.googlesource.com/c/go/+/320510
Trust: Robert Findley <rfindley@google.com>
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/token/position.go