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

Extraneous semicolons from stacked inline class definitions #59

Closed
mjago opened this issue Nov 13, 2017 · 2 comments
Closed

Extraneous semicolons from stacked inline class definitions #59

mjago opened this issue Nov 13, 2017 · 2 comments
Labels

Comments

@mjago
Copy link
Member

mjago commented Nov 13, 2017

echo "class A end; class B end;class C end # comment" | rufo
gives:

class A end; 
class B end; 
class C end # comment
@mjago mjago added the bug label Nov 13, 2017
mjago added a commit that referenced this issue Nov 13, 2017
@mjago mjago mentioned this issue Nov 13, 2017
@mjago
Copy link
Member Author

mjago commented Nov 13, 2017

The above code is a syntax error in v2.2.8. However the following
echo "class A; end; class B; end;class C; end # comment" | rufo
gives:

class A; end; 
class B; end; 
class C; end # comment

@mjago
Copy link
Member Author

mjago commented Nov 14, 2017

Fixed with #60

@mjago mjago closed this as completed Nov 14, 2017
mjago added a commit that referenced this issue Nov 14, 2017
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

1 participant