[go-nuts] Re: [generics] Bugs + something else

2020-09-02 Thread Anderson Queiroz
you cannot mix parenthesis and square brackets for type parameters in the same file, you did it on your first example. On Tuesday, 1 September 2020 at 18:12:35 UTC+2 jake...@gmail.com wrote: > > On Monday, August 31, 2020 at 8:49:00 PM UTC-4, p...@pjebs.com.au wrote: >> >> 1. >> For this Go 2

[go-nuts] Re: [generics] Bugs + something else

2020-09-01 Thread Jake Montgomery
On Monday, August 31, 2020 at 8:49:00 PM UTC-4, p...@pjebs.com.au wrote: > > 1. > For this Go 2 snippet: https://go2goplay.golang.org/p/vbfBBmjxaMi > > Why can't I use square brackets when calling the constructor? > This seems to be fixed now: https://go2goplay.golang.org/p/cpKKg5qG5Ve --