On Tue, Aug 6, 2019 at 1:38 PM <lgod...@gmail.com> wrote: > For f1 defined as func f1(k1, k2, k3 int) (x1, x2 int) {..} > and f2 defined as func f2(x,y int) (xR int) {..} > > Why does the compiler complain about the call stmt > f2 ( f1 (1,2,3) ) ?? >
I'm not sure what you're asking. The compiler doesn't complain about this. eg https://play.golang.org/p/0OKIsPLTipz -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAAuPoqfoqdNGAxR6CRXOfru7sczR1a5hjBxP2qM2XeMFe3c-TQ%40mail.gmail.com.