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
Bad error message. Both lines are weird.
$ cat x.go
package main
func main() {
f := func(n int) string {
for n >= 0 {
return "x"
}
}
_ = f
}
$ go build x.go
# command-line-arguments
<epoch>: missing return at end of function
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: