gccgo: treats nil as type
dvyukov opened this issue · comments
Dmitry Vyukov commented
gccgo successfully compiles the following program:
package n
func f(a nil)
It must not.
gcc version 6.0.0 2015070 (experimental) (GCC)
Dmitry Vyukov commented
GopherBot commented
CL https://golang.org/cl/12662 mentions this issue.