Commit 18187e7d authored by Ian Lance Taylor's avatar Ian Lance Taylor

Complex values may only be compared for equality or inequality.

R=gri, r
CC=golang-dev
https://golang.org/cl/294042
parent 5cf707b4
...@@ -1369,9 +1369,9 @@ Any value may be assigned to the <a href="#Blank_identifier">blank identifier</a ...@@ -1369,9 +1369,9 @@ Any value may be assigned to the <a href="#Blank_identifier">blank identifier</a
<p> <p>
Except as noted, values of any type may be compared to other values of Except as noted, values of any type may be compared to other values of
<a href="#Type_compatibility">compatible static type</a>. <a href="#Type_compatibility">compatible static type</a>.
Values of numeric and string type may be compared using the Values of integer, floating-point, and string type may be compared using the
full range of <a href="#Comparison_operators;">comparison operators</a>; full range of <a href="#Comparison_operators;">comparison operators</a>;
booleans may be compared only for equality or inequality. booleans and complex values may be compared only for equality or inequality.
</p> </p>
<p> <p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment