What version of Go are you using (go version)?
$ go version
go version devel go1.18-fad67f8a53 Sat Nov 27 01:14:21 2021 +0000 linux/amd64
Does this issue reproduce with the latest release?
Tip only.
What did you do?
package main
var X [1<<50]byte
func main() {}
What did you expect to see?
Not crash, just fails to compile.
What did you see instead?
Crash
What version of Go are you using (
go version)?Does this issue reproduce with the latest release?
Tip only.
What did you do?
What did you expect to see?
Not crash, just fails to compile.
What did you see instead?
Crash