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 with newline misparses #142

Open
aredridel opened this issue Apr 23, 2015 · 2 comments
Open

return with newline misparses #142

aredridel opened this issue Apr 23, 2015 · 2 comments
Labels

Comments

@aredridel
Copy link
Contributor

Parsing

function x() {
return

{thing : 'b'}
}

comes out as

function x() {
    return{thing : 'b'}
}

instead of

function x() {
    return;
    {thing : 'b'}
}
@millermedeiros
Copy link

weird that I had a commit before that checked the ASI behavior: millermedeiros/esformatter@ad6cd85

@jimfleming jimfleming added the bug label May 27, 2015
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