From: Ian Lance Taylor Date: Mon, 8 Mar 2010 22:05:46 +0000 (-0800) Subject: Complex values may only be compared for equality or inequality. X-Git-Tag: weekly.2010-03-15~39 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=18187e7d49502b8fde3307c3719bb77869a7bbd7;p=gostls13.git Complex values may only be compared for equality or inequality. R=gri, r CC=golang-dev https://golang.org/cl/294042 --- diff --git a/doc/go_spec.html b/doc/go_spec.html index 0dc1a836ec..d0b9e2fad4 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1369,9 +1369,9 @@ Any value may be assigned to the blank identifier Except as noted, values of any type may be compared to other values of compatible static type. -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 comparison operators; -booleans may be compared only for equality or inequality. +booleans and complex values may be compared only for equality or inequality.