From 18187e7d49502b8fde3307c3719bb77869a7bbd7 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 8 Mar 2010 14:05:46 -0800 Subject: [PATCH] Complex values may only be compared for equality or inequality. R=gri, r CC=golang-dev https://golang.org/cl/294042 --- doc/go_spec.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index 0dc1a836ec4..d0b9e2fad47 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.