Skip to content

Commit

Permalink
Add -f(no-)error-spans flag to hash-irrelevant flags
Browse files Browse the repository at this point in the history
This flag is used by the default build-command in `haskell-mode` so
it's very noticeable if haskell-mode causes to recompile the world

NB: no changelog entry as this can be considered a follow-up to #5589

(cherry picked from commit 50be57e)
  • Loading branch information
hvr committed Nov 21, 2018
1 parent 9813a90 commit 152bd62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cabal/Distribution/Simple/Program/GHC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ normaliseGhcArgs (Just ghcVersion) PackageDescription{..} ghcArgs
[ [ "reverse-errors", "warn-unused-binds", "break-on-error"
, "break-on-exception", "print-bind-result"
, "print-bind-contents", "print-evld-with-show"
, "implicit-import-qualified" ]
, "implicit-import-qualified", "error-spans"
]
, from [8,2]
[ "diagnostics-show-caret", "local-ghci-history"
, "show-warning-groups", "hide-source-paths"
Expand Down

0 comments on commit 152bd62

Please sign in to comment.