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
$ go run main.go
./main.go:4: cannot convert 0 to type bool
./main.go:4: cannot convert 0 (type int) to type bool
./main.go:5: cannot convert "false" to type bool
./main.go:5: cannot convert "false" (type string) to type bool
./main.go:6: cannot convert false to type int
./main.go:6: cannot convert false (type bool) to type int
./main.go:7: cannot convert true to type string
./main.go:7: cannot convert true (type bool) to type string
The following
prints (in go1.6, go1.7, go1.8 and go1.9beta2)
Printing the same error message two times is unnecessary. Note that
[]int("a")
(and variations) only print one.The text was updated successfully, but these errors were encountered: