• Robert Griesemer's avatar
    go spec: Base comparison compatibility on assignment compatibility. · 1d282a8e
    Robert Griesemer authored
    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
    1d282a8e
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
pkg Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...