Skip to content

Commit bf03c86

Browse files
committed
Track remote
1 parent 6a54107 commit bf03c86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ghcide/src/Development/IDE/Spans/AtPoint.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ atPoint IdeOptions{} (HAR _ hf _ _ (kind :: HieKind hietype)) (DKMap dm km) env
279279
packageNameForImportStatement mod = do
280280
mpkg <- findImportedModule env mod :: IO (Maybe Module)
281281
let moduleName = printOutputable mod
282-
case join $ traverse (flip packageNameWithVersion env) mpkg of
282+
case mpkg >>= flip packageNameWithVersion env of
283283
Nothing -> pure moduleName
284284
Just pkgWithVersion -> pure $ moduleName <> "\n\n" <> pkgWithVersion
285285

0 commit comments

Comments
 (0)