On Saturday, 25 July 2020 at 22:22:24 UTC+2 Ian Lance Taylor wrote: > Note that in this way constraints on type parameters are different > from types of regular parameters. It makes no sense to speak of a > regular parameter with no type. >
In regular parameter lists interface{} has this role, same as in type parameter lists, and we do not omit it. I know interface{} is technically a type, but "no constraint" is technically a constraint too. -- 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/eecc8431-8cf5-48db-8a52-f15ef385ceb7n%40googlegroups.com.