mirror of
https://github.com/golang/go
synced 2024-11-22 02:34:40 -07:00
use FunctionType in FunctionLit production
R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=26738 CL=26753
This commit is contained in:
parent
ba620d5027
commit
62fd90ab76
@ -1991,7 +1991,7 @@ It consists of a specification of the function type and a function body.
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre class="grammar">
|
<pre class="grammar">
|
||||||
FunctionLit = "func" Signature Block .
|
FunctionLit = FunctionType Block .
|
||||||
Block = "{" StatementList "}" .
|
Block = "{" StatementList "}" .
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user