File tree 1 file changed +3
-3
lines changed
ghcide/src/Development/IDE/Import
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ import Development.IDE.Types.Location
23
23
-- standard imports
24
24
import Control.Monad.Extra
25
25
import Control.Monad.IO.Class
26
- import Data.List (isSuffixOf , find )
27
- import qualified Data.Set as S
26
+ import Data.List (find , isSuffixOf )
28
27
import Data.Maybe
28
+ import qualified Data.Set as S
29
29
import System.FilePath
30
30
31
31
-- See Note [Guidelines For Using CPP In GHCIDE Import Statements]
@@ -93,7 +93,7 @@ locateModuleFile import_dirss exts targetFor isSource modName = do
93
93
Nothing ->
94
94
case find (\ (_ , _, reexports) -> S. member modName reexports) import_dirss of
95
95
Just (uid,_,_) -> pure $ LocateFoundReexport uid
96
- Nothing -> pure LocateNotFound
96
+ Nothing -> pure LocateNotFound
97
97
Just (uid,file) -> pure $ LocateFoundFile uid file
98
98
where
99
99
go (uid, candidate) = fmap ((uid,) <$> ) $ targetFor modName candidate
You can’t perform that action at this time.
0 commit comments