Skip to content

Commit e80d9c4

Browse files
committed
stylish-haskell
1 parent 021ead9 commit e80d9c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ghcide/src/Development/IDE/Import/FindImports.hs

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ import Development.IDE.Types.Location
2323
-- standard imports
2424
import Control.Monad.Extra
2525
import Control.Monad.IO.Class
26-
import Data.List (isSuffixOf, find)
27-
import qualified Data.Set as S
26+
import Data.List (find, isSuffixOf)
2827
import Data.Maybe
28+
import qualified Data.Set as S
2929
import System.FilePath
3030

3131
-- See Note [Guidelines For Using CPP In GHCIDE Import Statements]
@@ -93,7 +93,7 @@ locateModuleFile import_dirss exts targetFor isSource modName = do
9393
Nothing ->
9494
case find (\(_ , _, reexports) -> S.member modName reexports) import_dirss of
9595
Just (uid,_,_) -> pure $ LocateFoundReexport uid
96-
Nothing -> pure LocateNotFound
96+
Nothing -> pure LocateNotFound
9797
Just (uid,file) -> pure $ LocateFoundFile uid file
9898
where
9999
go (uid, candidate) = fmap ((uid,) <$>) $ targetFor modName candidate

0 commit comments

Comments
 (0)