Commit 84ac90e 1 parent 770d8d8 commit 84ac90e Copy full SHA for 84ac90e
File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
<!--{
2
2
"Title": "The Go Programming Language Specification",
3
- "Subtitle": "Version of August 14 , 2017",
3
+ "Subtitle": "Version of August 25 , 2017",
4
4
"Path": "/ref/spec"
5
5
}-->
6
6
@@ -4820,8 +4820,9 @@ <h4 id="Type_switches">Type switches</h4>
4820
4820
</ p >
4821
4821
4822
4822
< p >
4823
- The type in a case may be < a href ="#Predeclared_identifiers "> < code > nil</ code > </ a > ;
4824
- that case is used when the expression in the TypeSwitchGuard
4823
+ Instead of a type, a case may use the predeclared identifier
4824
+ < a href ="#Predeclared_identifiers "> < code > nil</ code > </ a > ;
4825
+ that case is selected when the expression in the TypeSwitchGuard
4825
4826
is a < code > nil</ code > interface value.
4826
4827
There may be at most one < code > nil</ code > case.
4827
4828
</ p >
You can’t perform that action at this time.
0 commit comments