You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cmd/compile: misleading error message for index expression #49571
Thank you @mdevan for reporting this issue! It is fixed for Go1.18 thanks be to the excellent work that @findleyr and @griesemer implemented this cycle.
$ go version && go run main.go
go version devel go1.18-5344dcae41 Tue Nov 9 00:08:42 2021 +0000 darwin/amd64
# command-line-arguments
./main.go:8:13: undefined: c
Activity
odeke-em commentedon Nov 13, 2021
Thank you @mdevan for reporting this issue! It is fixed for Go1.18 thanks be to the excellent work that @findleyr and @griesemer implemented this cycle.
You can experiment with the latest Go version by following https://pkg.go.dev/golang.org/dl/gotip#pkg-overview
I shall therefore close this issue, but please don't hesitate to reach out and file more bugs as you see them.