diff options
author | Fraser Tweedale <frase@frase.id.au> | 2019-04-10 21:53:08 +1000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-04-15 06:26:37 -0400 |
commit | 71cf94db8445e5d8225ce65a9feecbfaa3ac3fe3 (patch) | |
tree | b5d60858c3639a439da3bfb4b21dc328988f4f19 /compiler/codeGen | |
parent | 4b1ef06d45fb3cd226b5ec4217e975d48b85e645 (diff) | |
download | haskell-71cf94db8445e5d8225ce65a9feecbfaa3ac3fe3.tar.gz |
GHCi: fix load order of .ghci files
Directives in .ghci files in the current directory ("local .ghci")
can be overridden by global files. Change the order in which the
configs are loaded: global and $HOME/.ghci first, then local.
Also introduce a new field to GHCiState to control whether local
.ghci gets sourced or ignored. This commit does not add a way to
set this value (a subsequent commit will add this), but the .ghci
sourcing routine respects its value.
Fixes: https://gitlab.haskell.org/ghc/ghc/issues/14689
Related: https://gitlab.haskell.org/ghc/ghc/issues/6017
Related: https://gitlab.haskell.org/ghc/ghc/issues/14250
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions