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

akzhan picture akzhan  路  67Comments

malte-v picture malte-v  路  77Comments

straight-shoota picture straight-shoota  路  91Comments

chocolateboy picture chocolateboy  路  87Comments

xtagon picture xtagon  路  132Comments