• Russ Cox's avatar
    gc: implement new comparison rule · 23bd214a
    Russ Cox authored
    The new comparison rule was added to the spec by
    
    	changeset:   5605:33abb649cb63
    	user:        Robert Griesemer <gri@golang.org>
    	date:        Thu Jun 03 16:55:50 2010 -0700
    	files:       doc/go_spec.html
    	description:
    	go spec: Base comparison compatibility on assignment compatibility.
    
    	Specifically:
    	- Simplified definition of comparison compatibility and folded into
    	  section on comparison operators since it's only used there.
    
    	This is a small language change/cleanup. As a consequence:
    	- An interface value may now be compared against a non-interface value.
    	- Channels with opposite directions cannot be compared directly anymore
    	  (per discussion with rsc).
    
    	R=rsc, r, iant, ken2
    	CC=golang-dev
    	https://golang.org/cl/1462041
    
    but never implemented.
    
    Fixes #1070.
    
    R=ken2
    CC=golang-dev
    https://golang.org/cl/2116047
    23bd214a
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.ccmd Loading commit data...
Make.clib Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.inc 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...