Re: [go-nuts] Re: Possible issue with go vet and/or gopls

2024-08-26 Thread Arnaud Delobelle
On Mon, 26 Aug 2024 at 00:58, peterGo wrote: > Arnaud, > > My local devel example version, > > go version devel go1.24-96d8ff00c2 Sat Aug 24 00:51:40 2024 + > > Your Go Playground devel example version,run at at 2024-08-25 > 23:38:42.008121446 + UTC, is earlier, > > devel go1.24-b6f05cc33

Re: [go-nuts] Re: Possible issue with go vet and/or gopls

2024-08-26 Thread Arnaud Delobelle
On Mon, 26 Aug 2024 at 01:27, peterGo wrote: > Arnaud, > > GODEBUG=gotypesalias=1 was not redundant in my command. It was used to > suppress go vet error checking. > > As I understand it from the go 1.23 release notes (confirmed by the test below), it doesn't suppress anything - it's the reverse:

Re: [go-nuts] Re: Possible issue with go vet and/or gopls

2024-08-25 Thread peterGo
Arnaud, GODEBUG=gotypesalias=1 was not redundant in my command. It was used to suppress go vet error checking. peter On Sunday, August 25, 2024 at 5:30:25 PM UTC-4 Arnaud Delobelle wrote: > Hi Peter, > > Thanks for mentioning gotypesalias. Looking into that, I see that the > go1.23 release n

Re: [go-nuts] Re: Possible issue with go vet and/or gopls

2024-08-25 Thread peterGo
Arnaud, My local devel example version, go version devel go1.24-96d8ff00c2 Sat Aug 24 00:51:40 2024 + Your Go Playground devel example version,run at at 2024-08-25 23:38:42.008121446 + UTC, is earlier, devel go1.24-b6f05cc333 Tue Aug 20 13:39:19 2024 + peter On Sunday, August 25,

Re: [go-nuts] Re: Possible issue with go vet and/or gopls

2024-08-25 Thread Arnaud Delobelle
Hi Peter, Thanks for mentioning gotypesalias. Looking into that, I see that the go1.23 release notes mention that: By default, go/types now produces Alias type nodes for type aliases. This behavior can be controlled by the GODEBUG gotypesalias flag. Its default has changed from 0 in Go 1.22