Skip to content

Commit 2547212

Browse files
committed
Try Typecheck
1 parent 9a5c60b commit 2547212

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ghcide/src/Development/IDE/Core/Actions.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ getAtPoint file pos = runMaybeT $ do
6161
(hf, mapping) <- useE GetHieAst file
6262
env <- hscEnv . fst <$> useE GhcSession file
6363
dkMap <- lift $ maybe (DKMap mempty mempty) fst <$> runMaybeT (useE GetDocMap file)
64-
(hi, _) <- useE GetModIfaceFromDisk file
64+
void $ useE TypeCheck file
65+
(hi, _) <- useE GetModIface file
6566

6667
!pos' <- MaybeT (return $ fromCurrentPosition mapping pos)
6768

0 commit comments

Comments
 (0)