]> Cypherpunks repositories - gostls13.git/commit
go/types: better position for "3-index slice of string" error
authorRobert Findley <rfindley@google.com>
Thu, 18 Nov 2021 00:37:04 +0000 (19:37 -0500)
committerRobert Findley <rfindley@google.com>
Thu, 18 Nov 2021 02:18:12 +0000 (02:18 +0000)
commit72f0976ac45fcb7f3fd6d47a3ac5c96a78edd59d
treeb48bda14cd77d6f47fd7406418c9c82b867dd814
parent3404ee3e86b9f4eab55d2451dcd9db5b4cd9ed4a
go/types: better position for "3-index slice of string" error

This is a port of CL 363670 from types2 to go/types.

Change-Id: I2ac3a5f86bb4eafddd2854e193083b2b737e29b6
Reviewed-on: https://go-review.googlesource.com/c/go/+/364901
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/index.go
src/go/types/testdata/check/expr3.src
src/go/types/testdata/check/typeparams.go2