Skip to content

Commit

Permalink
Try removing -ddump-hi based on haskell-hint/hint#78
Browse files Browse the repository at this point in the history
  • Loading branch information
limick committed Jan 3, 2019
1 parent e2bece5 commit ac42c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Snap/Loader/Dynamic.hs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ getHintOpts :: [String] -> [String]
getHintOpts args = removeBad opts
where
--------------------------------------------------------------------------
bad = ["-threaded", "-O", "-main-is", "-o", "--make", "-static", "-XHaskell"]
bad = ["-threaded", "-O", "-main-is", "-o", "--make", "-static", "-XHaskell", "-ddump-hi"]

--------------------------------------------------------------------------
removeBad = filter (\x -> not $ any (`isPrefixOf` x) bad)
Expand Down

0 comments on commit ac42c76

Please sign in to comment.