work around an EvilSplicer bug

This should fix the android build. The EvilSplicer cannot fix up ghc's
misformatting of a case expression with a construstor with a lot of
parameters, which spans multiple lines.
This commit is contained in:
Joey Hess 2014-05-10 12:27:21 -03:00
parent 7c4c7bd05b
commit 4e987d05a8
2 changed files with 9 additions and 4 deletions

View file

@ -460,6 +460,11 @@ mangleCode = flip_colon
-
- Nothing
- -> foo
-
- -- This is not yet handled!
- ComplexConstructor var var
- var var
- -> foo
-}
case_layout_multiline = parsecAndReplace $ do
void newline