Update 'return' statement syntax in LangRef to reflect the actual parsing syntax.

PiperOrigin-RevId: 222107722
This commit is contained in:
River Riddle 2018-11-19 11:21:59 -08:00 committed by jpienaar
parent 21c30304a0
commit 1c95796372
1 changed files with 1 additions and 1 deletions

View File

@ -1094,7 +1094,7 @@ one can choose to apply MLFunctions when it is beneficial.
Syntax:
``` {.ebnf}
return-stmt ::= `return` ssa-use-and-type-list?
return-stmt ::= `return` (ssa-use-list `:` type-list-no-parens)?
```
The arity and operand types of the return statement must match the result of the