|
1 | 1 | <!--{
|
2 | 2 | "Title": "The Go Programming Language Specification - Go 1.18 Draft",
|
3 |
| - "Subtitle": "Version of Feb 14, 2022", |
| 3 | + "Subtitle": "Version of Feb 28, 2022", |
4 | 4 | "Path": "/ref/spec"
|
5 | 5 | }-->
|
6 | 6 |
|
@@ -2008,7 +2008,7 @@ <h3 id="Assignability">Assignability</h3>
|
2008 | 2008 | </ul>
|
2009 | 2009 |
|
2010 | 2010 | <p>
|
2011 |
| -Additionally, if <code>x's</code> type <code>V</code> or <code>T</code> are type parameters |
| 2011 | +Additionally, if <code>x</code>'s type <code>V</code> or <code>T</code> are type parameters |
2012 | 2012 | with <a href="#Specific_types">specific types</a>, <code>x</code>
|
2013 | 2013 | is assignable to a variable of type <code>T</code> if one of the following conditions applies:
|
2014 | 2014 | </p>
|
@@ -7414,7 +7414,7 @@ <h3 id="Handling_panics">Handling panics</h3>
|
7414 | 7414 | terminates the execution of <code>F</code>.
|
7415 | 7415 | Any functions <a href="#Defer_statements">deferred</a> by <code>F</code>
|
7416 | 7416 | are then executed as usual.
|
7417 |
| -Next, any deferred functions run by <code>F's</code> caller are run, |
| 7417 | +Next, any deferred functions run by <code>F</code>'s caller are run, |
7418 | 7418 | and so on up to any deferred by the top-level function in the executing goroutine.
|
7419 | 7419 | At that point, the program is terminated and the error
|
7420 | 7420 | condition is reported, including the value of the argument to <code>panic</code>.
|
|
0 commit comments