diff options
| author | Robert Griesemer <gri@golang.org> | 2010-06-03 16:55:50 -0700 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2010-06-03 16:55:50 -0700 |
| commit | 0727ff6d82c3c31710070f890c45db15ca72332e (patch) | |
| tree | 1ae03d043ab836be78045ac9708b64ddace5c013 /doc/go_tutorial.html | |
| parent | 6d99efafb928558e0b5a111df8c8b2d245444dca (diff) | |
| download | golang-0727ff6d82c3c31710070f890c45db15ca72332e.tar.gz | |
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
http://codereview.appspot.com/1462041
Diffstat (limited to 'doc/go_tutorial.html')
0 files changed, 0 insertions, 0 deletions
