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

return; #66

Open
pitust opened this issue Mar 27, 2020 · 1 comment
Open

return; #66

pitust opened this issue Mar 27, 2020 · 1 comment
Labels

Comments

@pitust
Copy link

pitust commented Mar 27, 2020

For whatever reason, argument-less return doesn't work:

function f() {
    return;
}

It should just result in a return from c.

@Atybot
Copy link
Contributor

Atybot commented Oct 27, 2020

Error: code cannot determine type of what to return, meanwhile doing "return;" will return undefined, so this should be interpreted as:
function f() {
return undefined;
}
however, there's a bug somewhere for which there can;t determine the type of what to return, ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants