On Sun, 4 Apr 2021 at 00:48, Eltjon Metko <eme...@gmail.com> wrote: > I was fully expecting for floodgates of comments to open again but it > seems we have reached a point of maturity in the generics proposal. > The new proposal really makes the intent much clearer both on the exact vs > underlying type match front and the syntax gives us a more familiar union > intent. > So in that light this proposal is a welcome change by itself. > > If this would allow us then later to switch on the matched type > (preferably without type assertion, along the lines of the comment in > https://github.com/golang/go/issues/45346#issuecomment-812557199 ) > than it would make this implementation of generics much more useful. >
FYI because discussion on that was starting to disrupt the original proposal, I created a specific issue for the type switch construct suggested in that comment: https://golang.org/issue/45380 -- 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/CAJhgacgLVcYTdYWQpyhiU5tDzZ6uEdnZYr-gO2xgY-U90OxzDQ%40mail.gmail.com.