
@davecheney This is a trick question, the answer is deploy and find out
#golang pop quiz: does this program compile? package main import ( "fmt" ) const string = 2 func f() [string]int { return [...]int{string:0} } func main() { fmt.Println(f()) }

@davecheney This is a trick question, the answer is deploy and find out
#golang pop quiz: does this program compile? package main import ( "fmt" ) const string = 2 func f() [string]int { return [...]int{string:0} } func main() { fmt.Println(f()) }