Merge pull request #1712 from AleoHQ/abnf-function-output

[ABNF] Require function output type.
This commit is contained in:
Collin Chin 2022-04-01 14:15:47 -07:00 committed by GitHub
commit dfcd72dc25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -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 ) [ "," ]