On Wednesday, July 15, 2020 at 6:41:51 AM UTC-6 Michal Strba wrote: > What about using a dot when specializing in bodies? > > func main() { > x := zero.<int>() // requires a dot > } >
What are all the kinds of "generic expressions" we would need to support? Go allows incomplete floating point literals (such as `x := 3.`)... Could angle brackets ever appear on the right side of such a floating point literal to mean something generic? If so, it would be ambiguous with a less-than comparison. -- 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/c94e7926-47c8-4530-9b37-70066a1be72dn%40googlegroups.com.