Re: [go-nuts] Address of function

2020-04-14 Thread Michał Łowicki
Please take a look at one of old threads about it - https://groups.google.com/forum/#!topic/golang-nuts/reaIlFdibWU. On Tue, Apr 14, 2020 at 12:50 PM wrote: > Hi, > > What is the reason for not allowing taking the address of a function > return value, ie having to assign it to a variable first?

Re: [go-nuts] Address of function

2020-04-14 Thread Viktor Ogeman
Thanks Sent from my phone > On 14 Apr 2020, at 15:34, Michał Łowicki wrote: > >  > Please take a look at one of old threads about it - > https://groups.google.com/forum/#!topic/golang-nuts/reaIlFdibWU. > >> On Tue, Apr 14, 2020 at 12:50 PM wrote: >> Hi, >> >> What is the reason for not al

[go-nuts] Address of function

2020-04-14 Thread viktor . ogeman
Hi, What is the reason for not allowing taking the address of a function return value, ie having to assign it to a variable first? See https://play.golang.org/p/rjLwiVmikMc Regards -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscri