On Thu, Jan 20, 2022 at 12:12 AM Manlio Perillo <manlio.peri...@gmail.com> wrote: > > I found other 2 issues: > > 1. In golang.org/design/43651-type-parameters#element-constraint-example, > the type SC must use an approximation element ~[]E for V2 and V3 to > compile. > > 2. In the same section, the document should add a DoubleDefined2 function, to > show the new syntax introduced in #48424. > > func DoubleDefined2(S ~[]E, E constraints.Integer) S { ... }
Thanks, fixed by dropping SC entirely. We don't need it any more. Ian -- 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/CAOyqgcVaXY50wx%3DRYnsZEAWhiobp94umRfAjYV1ztcL1gCS33g%40mail.gmail.com.