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.go:8: multiple-value f() in single-value context
which looks like the right thing.
Also if you uncomment the case, gotype says:
go.go:10:7: cannot compare f() == f() (operator == not defined for (int, int))
gotype should reject f() in switch case at earlier stage and say something along the lines of the gc error message (the issue is not with comparison, it is with multiple-value in single-value context).
gotype successfully compiles the following program:
gc says:
which looks like the right thing.
Also if you uncomment the case, gotype says:
gotype should reject f() in switch case at earlier stage and say something along the lines of the gc error message (the issue is not with comparison, it is with multiple-value in single-value context).
on commit af81789
The text was updated successfully, but these errors were encountered: