See above. This is mentioned in the appendix of the type parameters proposal but doesn't work in this beta release. Was this marked out of scope for 1.18 and if so where can I find a github issue for it?
Minimal example: https://gotipplay.golang.org/p/YeMs-iAQwkr -- 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/CAEF0wegEcbF4sJHekZAySesyRnJQNuu399C4qDehAhDxfsSVuw%40mail.gmail.com.