diff options
Diffstat (limited to 'Build/EvilSplicer.hs')
-rw-r--r-- | Build/EvilSplicer.hs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Build/EvilSplicer.hs b/Build/EvilSplicer.hs index b717b5621..c7c6fedf2 100644 --- a/Build/EvilSplicer.hs +++ b/Build/EvilSplicer.hs @@ -389,14 +389,6 @@ mangleCode = declaration_parens - declarations. -} declaration_parens = replace "StaticR Route Static" "StaticR (Route Static)" - {- Outright hack: It should remove declaration splices, and does - - not, so here I remove the declaration splices used for yesod. - -} - remove_declaration_splices s - | "publicFiles" `isPrefixOf` s = "" - | "mkYesodData" `isPrefixOf` s = "" - | otherwise = s - {- GHC may add full package and version qualifications for - symbols from unimported modules. We don't want these. - |