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 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
>

-- 
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/1e9d97e0-e1df-45cc-b4f4-3c841f13996an%40googlegroups.com.

Reply via email to