mirror of
https://github.com/golang/go
synced 2025-07-02 19:57:36 +00:00
For consistency with conversions that look like function calls, conversions that don't look like function calls now allow an optional trailing comma. That is, int(x,) has always been syntactically valid. Now []int(x,) is valid too. Fixes #4162. R=ken2 CC=golang-dev https://golang.org/cl/7288045
525 B
525 B