You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cat a.go
package a
type main int
var X main
$ cat main.go
package main
import "./a"
func main() {
a.X = 1
}
$ go tool compile a.go
$ go tool compile main.go
a.go:3: cannot declare main - must be func
This prevents github.com/juju/juju/cmd/juju from building with -l=4.
The text was updated successfully, but these errors were encountered:
This prevents github.com/juju/juju/cmd/juju from building with -l=4.
The text was updated successfully, but these errors were encountered: