fix some more

This commit is contained in:
Joey Hess 2016-12-10 12:29:29 -04:00
parent 474caa1885
commit f4b7caaa61
No known key found for this signature in database
GPG key ID: C910D9222512E3C7

View file

@ -509,7 +509,7 @@ mangleCode = flip_colon
then unexpected "second line of lambda"
else if "=>" `isSuffixOf` lastline
then unexpected "probably type signature"
else return $ "\n" ++ indent1 ++ "; " ++ prefix ++ " -> "
else return $ "\n" ++ lastline ++ "\n" ++ indent1 ++ "; " ++ prefix ++ " -> "
{- Sometimes cases themselves span multiple lines:
-
- Nothing