Thank you all for the quick replies and helpful comments. I opened an issue
in the go's issue tracker (https://github.com/golang/go/issues/51913).
On Thursday, 24 March 2022 at 13:23:14 UTC+1 Brian Candler wrote:
> Ugh, quoting got broken there.
>
> $ go run rewritten_f1.go f2.go
> Init A
> Init
Hi all,
I'm currently observing a behavior in the package initialization that looks
incompatible with the Go language specification.
Let's consider the following two .go files which are in the same package
*f1.go*
package main
var A int = 3
var B int = A + 1
var C int = A
*f2.go