Re: [go-nuts] Odd error message - expression in go must be function call

2020-04-23 Thread Ian Lance Taylor
On Thu, Apr 23, 2020 at 9:35 AM Matthew Zimmerman wrote: > > Reported, thank you! > > https://github.com/golang/go/issues/38624 Thanks! Ian On Thu, Apr 23, 2020 at 12:16 PM Ian Lance Taylor wrote: >> >> On Thu, Apr 23, 2020 at 7:30 AM Matthew Zimmerman >> wrote: >> > >> > I was really conf

Re: [go-nuts] Odd error message - expression in go must be function call

2020-04-23 Thread Matthew Zimmerman
Reported, thank you! https://github.com/golang/go/issues/38624 On Thu, Apr 23, 2020 at 12:16 PM Ian Lance Taylor wrote: > On Thu, Apr 23, 2020 at 7:30 AM Matthew Zimmerman > wrote: > > > > I was really confused by this error for ~10 minutes or so. Usually when > this happens to me, I missed a

Re: [go-nuts] Odd error message - expression in go must be function call

2020-04-23 Thread Ian Lance Taylor
On Thu, Apr 23, 2020 at 7:30 AM Matthew Zimmerman wrote: > > I was really confused by this error for ~10 minutes or so. Usually when this > happens to me, I missed a closing/opening brace somewhere or I forgot to add > () after my anonymous function declaration to actually run it. > > This time

Re: [go-nuts] Odd error message - expression in go must be function call

2020-04-23 Thread Mhd Shulhan
Pada tanggal Kam, 23 Apr 2020 21.30, Matthew Zimmerman menulis: > I was really confused by this error for ~10 minutes or so. Usually when > this happens to me, I missed a closing/opening brace somewhere or I forgot > to add () after my anonymous function declaration to actually run it. > > This

[go-nuts] Odd error message - expression in go must be function call

2020-04-23 Thread Matthew Zimmerman
I was really confused by this error for ~10 minutes or so. Usually when this happens to me, I missed a closing/opening brace somewhere or I forgot to add () after my anonymous function declaration to actually run it. This time though all the braces were lining up and I had () there appropriately.