fix some more
authorJoey Hess <joeyh@joeyh.name>
Sat, 10 Dec 2016 16:29:29 +0000 (12:29 -0400)
committerJoey Hess <joeyh@joeyh.name>
Sat, 10 Dec 2016 16:29:29 +0000 (12:29 -0400)
Build/EvilSplicer.hs

index 42597172301ba4d1c4492d683425e248a0f8c2a4..9a9dffa42010ef7d1272d28579afa5513b5b98c1 100644 (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