We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
package main import "math" import "fmt" const ( a = iota b c => math.Pi d ) func main() { fmt.Println(a, b, c, d) }
prints
0 1 3.141592653589793 2
It probably shouldn't be allowed in the first place. Certainly the output is wrong (iota should be incremented with each semicolon).