• 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
..
5a Loading commit data...
5c Loading commit data...
5g Loading commit data...
5l Loading commit data...
6a Loading commit data...
6c Loading commit data...
6g Loading commit data...
6l Loading commit data...
8a Loading commit data...
8c Loading commit data...
8g Loading commit data...
8l Loading commit data...
cc Loading commit data...
cgo Loading commit data...
cov Loading commit data...
ebnflint Loading commit data...
gc Loading commit data...
godefs Loading commit data...
godoc Loading commit data...
gofmt Loading commit data...
goinstall Loading commit data...
gomake Loading commit data...
gopack Loading commit data...
gotest Loading commit data...
goyacc Loading commit data...
hgpatch Loading commit data...
ld Loading commit data...
nm Loading commit data...
prof Loading commit data...
clean.bash Loading commit data...
make.bash Loading commit data...