Open eborden opened 5 years ago
Seems you also get a walking comment bug if you have a comment between a let
and an in
line that are long enough:
testMethod :: String -> String -> String -> String -> String
testMethod foo bar baz qux =
-- Some comment explaining the let expressions
let x = undefined foo bar baz qux qux baz bar :: String
-- some comment explaining the in expression
in undefined foo x :: String
Every time you run brittany it will indent the in expression comment two spaces
It seems the "walking comment" problem still exists. It arises only within
instance
bodies with vertical alignment.Here are the examples found: