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

Formatter places double newline after getter with comment #4672

Closed
RX14 opened this issue Jul 4, 2017 · 2 comments
Closed

Formatter places double newline after getter with comment #4672

RX14 opened this issue Jul 4, 2017 · 2 comments

Comments

@RX14
Copy link
Contributor

RX14 commented Jul 4, 2017

class Foo
  getter value : String # comment

  def method
  end
end

gets formatted to

class Foo
  getter value : String # comment


  def method
  end
end

Crystal 0.23.0 (and 0.22.0).

@sdogruyol
Copy link
Member

sdogruyol commented Jul 4, 2017

We should ping formatter master @makenowjust 👍

@makenowjust
Copy link
Contributor

This is heavy.

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

No branches or pull requests

4 participants