Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
68f1609e
Commit
68f1609e
authored
Sep 01, 2010
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spec: fix a couple of tiny glitches
R=gri, rsc CC=golang-dev
https://golang.org/cl/2078041
parent
9bd6b0af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
doc/go_spec.html
doc/go_spec.html
+6
-6
No files found.
doc/go_spec.html
View file @
68f1609e
<!-- title The Go Programming Language Specification -->
<!-- subtitle Version of
July 29
, 2010 -->
<!-- subtitle Version of
Sep 1
, 2010 -->
<!--
TODO
...
...
@@ -1328,9 +1328,9 @@ A value <code>x</code> is <i>assignable</i> to a variable of type <code>T</code>
<code>
x
</code>
's type is identical to
<code>
T
</code>
.
</li>
<li>
<code>
x
</code>
's type
<code>
V
</code>
or
<code>
T
</code>
have identical
<a
href=
"#Types"
>
underlying types
</a>
and
<code>
V
</code>
or
<code>
T
</code>
is not a named type.
<code>
x
</code>
's type
<code>
V
</code>
and
<code>
T
</code>
have identical
<a
href=
"#Types"
>
underlying types
</a>
and
at least one of
<code>
V
</code>
or
<code>
T
</code>
is not a named type.
</li>
<li>
<code>
T
</code>
is an interface type and
...
...
@@ -1339,7 +1339,7 @@ is not a named type.
<li>
<code>
x
</code>
is a bidirectional channel value,
<code>
T
</code>
is a channel type,
<code>
x
</code>
's type
<code>
V
</code>
and
<code>
T
</code>
have identical element types,
and
<code>
V
</code>
or
<code>
T
</code>
is not a named type.
and
at least one of
<code>
V
</code>
or
<code>
T
</code>
is not a named type.
</li>
<li>
<code>
x
</code>
is the predeclared identifier
<code>
nil
</code>
and
<code>
T
</code>
...
...
@@ -1907,7 +1907,7 @@ argument. For instance, the method <code>Scale</code> has type
</p>
<pre>
(p *Point, factor float)
func
(p *Point, factor float)
</pre>
<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