Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
18187e7d
Commit
18187e7d
authored
Mar 08, 2010
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Complex values may only be compared for equality or inequality.
R=gri, r CC=golang-dev
https://golang.org/cl/294042
parent
5cf707b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
go_spec.html
doc/go_spec.html
+2
-2
No files found.
doc/go_spec.html
View file @
18187e7d
...
...
@@ -1369,9 +1369,9 @@ Any value may be assigned to the <a href="#Blank_identifier">blank identifier</a
<p>
Except as noted, values of any type may be compared to other values of
<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>
;
booleans may be compared only for equality or inequality.
booleans
and complex values
may be compared only for equality or inequality.
</p>
<p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment