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

compiler: ensure that arrow functions with block bodies return no value #125

Merged
merged 1 commit into from
Nov 23, 2022

Conversation

jow-
Copy link
Owner

@jow- jow- commented Nov 22, 2022

Follow ES6 semantics and ensure that arrow functions with a block body don't implicitly return the value of the last executed statement.

Signed-off-by: Jo-Philipp Wich [email protected]

Follow ES6 semantics and ensure that arrow functions with a block body
don't implicitly return the value of the last executed statement.

Signed-off-by: Jo-Philipp Wich <[email protected]>
@jow-
Copy link
Owner Author

jow- commented Nov 22, 2022

@huafu - this might be of interest for you

@jow- jow- merged commit 11adbbe into master Nov 23, 2022
@jow- jow- deleted the arrow-functions-blocks-no-return branch November 23, 2022 12:46
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