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
According to http://golang.org/doc/go_spec.html#Variable_declarations the
following code is valid:
func complexSqrt(i int) (int, int) {return 0, 1}
var re, im = complexSqrt(-1)
However, 8c generates the following error when I compile it
multiple-value complexSqrt() in single-value context
Not clear if it's the docs or the compiler that's in error.
GOARCH=386
GOOS=linux
$ hg id
b51fd2d6c160 release/release.2009-11-10.1
The text was updated successfully, but these errors were encountered:
by trost-g@cloud.rain.com:
The text was updated successfully, but these errors were encountered: