diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-05-18 12:01:57 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-06-13 02:13:03 -0400 |
commit | 36e1daf0a604d98a34d9a066a01dd4f5439b4aca (patch) | |
tree | 4c1bfcc10867c8e0f8fb0df87df740d527d5ef82 /ghc | |
parent | bd5810dc4e23331ca4f73ec3b1818c3350b5bbd7 (diff) | |
download | haskell-36e1daf0a604d98a34d9a066a01dd4f5439b4aca.tar.gz |
DynFlags: make listVisibleModuleNames take a UnitState
Diffstat (limited to 'ghc')
-rw-r--r-- | ghc/GHCi/UI.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/GHCi/UI.hs b/ghc/GHCi/UI.hs index 568a880154..dc02f68544 100644 --- a/ghc/GHCi/UI.hs +++ b/ghc/GHCi/UI.hs @@ -3516,7 +3516,7 @@ wrapIdentCompleterWithModifier modifChars fun = completeWordWithPrev Nothing wor -- | Return a list of visible module names for autocompletion. -- (NB: exposed != visible) allVisibleModules :: DynFlags -> [ModuleName] -allVisibleModules dflags = listVisibleModuleNames dflags +allVisibleModules dflags = listVisibleModuleNames (unitState dflags) completeExpression = completeQuotedWord (Just '\\') "\"" listFiles completeIdentifier |