cmd/go2go: len() on an array type-parameter not recognized as compile-time constant #42029
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Also go2go playground (see link below)
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?
OR
https://go2goplay.golang.org/p/BQFXljOS9zF
What did you expect to see?
3
What did you see instead?
type checking failed for main
prog.go2:11:9: array length len(dummy) (value of type int) must be constant
The text was updated successfully, but these errors were encountered: