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
# command-line-arguments
./main.go:5:4: cannot assign to a (declared const)
(that's the output from version 1.17.4)
What did you see instead?
# command-line-arguments
<unknown line number>: internal compiler error: panic: nil node
Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
The text was updated successfully, but these errors were encountered:
$ go version
go version devel go1.19-016d755213 Thu May 12 22:32:42 2022 +0000 linux/amd64
$ go tool compile p.go
p.go:5:2: cannot assign to a (untyped string constant "foo")
What version of Go are you using (
go version
)?Tried with
go1.18.1 linux/amd64
as well.Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
(that's the output from version 1.17.4)
What did you see instead?
The text was updated successfully, but these errors were encountered: