Skip to content

Allow expressionless return statements - #18

Open
varkor wants to merge 1 commit into
CompilerTeaching:masterfrom
varkor:expressionless-return
Open

Allow expressionless return statements#18
varkor wants to merge 1 commit into
CompilerTeaching:masterfrom
varkor:expressionless-return

Conversation

@varkor

@varkor varkor commented Oct 19, 2017

Copy link
Copy Markdown
Contributor

This removes the restriction that return statements have to return
values, as this restriction is not necessary for functions that have
side-effects, as a control-flow mechanism.

This removes the restriction that return statements have to return
values, as this restriction is not necessary for functions that have
side-effects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant