• Russ Cox's avatar
    gc: better error messages for interface failures, conversions · a212d174
    Russ Cox authored
    x.go:13: cannot use t (type T) as type Reader in assignment:
    	T does not implement Reader (Read method requires pointer receiver)
    x.go:19: cannot use q (type Q) as type Reader in assignment:
    	Q does not implement Reader (missing Read method)
    		have read()
    		want Read()
    x.go:22: cannot use z (type int) as type Reader in assignment:
    	int does not implement Reader (missing Read method)
    
    x.go:24: too many arguments to conversion to complex: complex(1, 3)
    
    R=ken2
    CC=golang-dev
    https://golang.org/cl/1736041
    a212d174
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libcgo Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.386 Loading commit data...
Make.amd64 Loading commit data...
Make.arm Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.conf Loading commit data...
Make.pkg Loading commit data...
all-arm.bash Loading commit data...
all-nacl.bash Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
env.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...
version.bash Loading commit data...