1. 
For this Go 2 snippet: https://go2goplay.golang.org/p/vbfBBmjxaMi

Why can't I use square brackets when calling the constructor?

2. Variadic `any` types + allowing a called function() to be used as an 
argument + return arguments types and numbers based on input arguments

I want to implement a `must` function which I proposed here: 
https://github.com/golang/go/issues/32219

Based on the current generics proposal, I don't seem to be able to do so.
Am I missing something or is must outside its ambit?


-@pjebs

-- 
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/a6963665-380b-481e-b75b-618ef4e2548an%40googlegroups.com.

Reply via email to