Crystal: Formatter places double newline after getter with comment

Created on 4 Jul 2017  路  2Comments  路  Source: crystal-lang/crystal

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).

bug feature

Most helpful comment

We should ping formatter master @MakeNowJust 馃憤

All 2 comments

We should ping formatter master @MakeNowJust 馃憤

This is heavy.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

costajob picture costajob  路  3Comments

lgphp picture lgphp  路  3Comments

jhass picture jhass  路  3Comments

Papierkorb picture Papierkorb  路  3Comments

relonger picture relonger  路  3Comments