You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like the indenter does not recognize when a match expression closes, and so case classes declared afterward are indented to the same level as the case statements in the match block:
object Hello {
foo match {
case "bar" => true
case _ => false
}
case class Goodbye(
flag: Boolean
)
}
The text was updated successfully, but these errors were encountered:
Yeah this bugs me too but it's been a real pain to fix. A PR would be
extremely welcome ;)
On Thu, May 12, 2016 at 11:52 AM nathantchan [email protected]
wrote:
It seems like the indenter does not recognize when a match expression
closes, and so case classes declared afterward are indented to the same
level as the case statements in the match block:
object Hello {
foo match {
case "bar" => true
case _ => false
}
case class Goodbye(
flag: Boolean
)
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub #126
It seems like the indenter does not recognize when a match expression closes, and so case classes declared afterward are indented to the same level as the case statements in the match block:
The text was updated successfully, but these errors were encountered: