mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-18 23:02:35 +03:00
Merge pull request #1712 from AleoHQ/abnf-function-output
[ABNF] Require function output type.
This commit is contained in:
commit
dfcd72dc25
Binary file not shown.
@ -311,7 +311,7 @@ print-arguments = "(" string-literal *( "," expression ) [ "," ] ")"
|
||||
print-call = print-function print-arguments
|
||||
|
||||
function-declaration = %s"function" identifier
|
||||
"(" [ function-parameters ] ")" [ "->" type ]
|
||||
"(" [ function-parameters ] ")" "->" type
|
||||
block
|
||||
|
||||
function-parameters = function-parameter *( "," function-parameter ) [ "," ]
|
||||
|
Loading…
Reference in New Issue
Block a user