|
1 | 1 | <!--{
|
2 | 2 | "Title": "The Go Programming Language Specification",
|
3 |
| - "Subtitle": "Version of November 12, 2018", |
| 3 | + "Subtitle": "Version of November 16, 2018", |
4 | 4 | "Path": "/ref/spec"
|
5 | 5 | }-->
|
6 | 6 |
|
@@ -1348,8 +1348,9 @@ <h3 id="Channel_types">Channel types</h3>
|
1348 | 1348 | The optional <code><-</code> operator specifies the channel <i>direction</i>,
|
1349 | 1349 | <i>send</i> or <i>receive</i>. If no direction is given, the channel is
|
1350 | 1350 | <i>bidirectional</i>.
|
1351 |
| -A channel may be constrained only to send or only to receive by explicit |
1352 |
| -<a href="#Conversions">conversion</a> or <a href="#Assignments">assignment</a>. |
| 1351 | +A channel may be constrained only to send or only to receive by |
| 1352 | +<a href="#Assignments">assignment</a> or |
| 1353 | +explicit <a href="#Conversions">conversion</a>. |
1353 | 1354 | </p>
|
1354 | 1355 |
|
1355 | 1356 | <pre>
|
@@ -3624,7 +3625,7 @@ <h4 id="Integer_overflow">Integer overflow</h4>
|
3624 | 3625 | <code>-</code>, <code>*</code>, <code>/</code>, and <code><<</code> may legally
|
3625 | 3626 | overflow and the resulting value exists and is deterministically defined
|
3626 | 3627 | by the signed integer representation, the operation, and its operands.
|
3627 |
| -Overflow does not cause a <a href="#Run_time_panics">run-time panic</a>. |
| 3628 | +Overflow does not cause a <a href="#Run_time_panics">run-time panic</a>. |
3628 | 3629 | A compiler may not optimize code under the assumption that overflow does
|
3629 | 3630 | not occur. For instance, it may not assume that <code>x < x + 1</code> is always true.
|
3630 | 3631 | </p>
|
|
0 commit comments