mirror of
https://github.com/golang/go
synced 2024-11-21 20:24:50 -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>
|
||||
|
||||
<pre class="grammar">
|
||||
FunctionLit = "func" Signature Block .
|
||||
FunctionLit = FunctionType Block .
|
||||
Block = "{" StatementList "}" .
|
||||
</pre>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user