Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarified that implicit return is allowed #407

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions AstSemantics.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,10 @@ function that returns multiple values will likely have to be a statement that
specifies multiple local variables to which to assign the corresponding return
values.

If a function with a non-void return type finishes evaluating and no `return`
was issued during the evaluation, the value of the function node is
returned.

## Constants

These opcodes have an immediate operand of their associated type which is
Expand Down