In case of multiple return values, it works similar to the original proposal. This should work with multiple return values. As I stated, this isn't a complete proposal.
On Thursday, February 6, 2020 at 10:55:35 PM UTC-7, MUNGAI wrote: > > I agree, > Some of the proposals introduce more trouble than the problem they are > solving. For example, the proposed try works only iff you are returning a > single value of type error. If you have more return values what happens? > -- 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/e3bb7dd9-e5a1-4b6a-b758-e0e9b4933119%40googlegroups.com.