• Russ Cox's avatar
    6g: error messages · b5e212ff
    Russ Cox authored
    replace "shape error across CALL" with more information.
    
    x.go:7: not enough arguments to CALL
    	a int, b int
    	int
    x.go:10: assignment count mismatch: 3 = 2
    x.go:12: too many arguments to RETURN
    	[no arguments expected]
    	int, int, int
    
    also leave type alone after conversion failure,
    for later errors:
    
    bug049.go:6: cannot convert nil constant to string
    bug049.go:6: illegal types for operand: EQ
    	string
    	nil		# this used to be blank
    
    R=ken
    OCL=28405
    CL=28407
    b5e212ff
Name
Last commit
Last update
..
cmd Loading commit data...
lib Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach_amd64 Loading commit data...
old/c Loading commit data...
pkg/debug/macho/testdata Loading commit data...
runtime Loading commit data...
Make.conf Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...