diff options
author | Joey Hess <joey@kitenet.net> | 2014-05-10 12:27:21 -0300 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-05-10 12:27:21 -0300 |
commit | 57a85fc693cf199700e795a9fc031dcc99077dd6 (patch) | |
tree | 29674423329196d857b5670ba4c16330a531985d /Build | |
parent | 7f731a8881bcc4a200594ff8f7bb3e3d86d71b65 (diff) |
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.
Diffstat (limited to 'Build')
-rw-r--r-- | Build/EvilSplicer.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Build/EvilSplicer.hs b/Build/EvilSplicer.hs index a7120f24f..bcffa3866 100644 --- a/Build/EvilSplicer.hs +++ b/Build/EvilSplicer.hs @@ -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 |