File tree 1 file changed +2
-1
lines changed
plugins/hls-eval-plugin/src/Ide/Plugin/Eval
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ import Development.IDE (GetModSummary (..),
50
50
ModSummaryResult (.. ),
51
51
NeedsCompilation (NeedsCompilation ),
52
52
evalGhcEnv , hscEnv ,
53
+ hscEnvWithImportPaths ,
53
54
prettyPrint , runAction ,
54
55
textToStringBuffer ,
55
56
toNormalizedFilePath' ,
@@ -539,7 +540,7 @@ runGetSession st nfp = liftIO $ runAction "eval" st $ do
539
540
((_, res),_) <- liftIO $ loadSessionFun fp
540
541
let env = fromMaybe (error $ " Unknown file: " <> fp) res
541
542
ghcSessionDepsConfig = def{forceLinkables = True , checkForImportCycles = False }
542
- res <- fmap hscEnv <$> ghcSessionDepsDefinition ghcSessionDepsConfig env nfp
543
+ res <- fmap hscEnvWithImportPaths <$> ghcSessionDepsDefinition ghcSessionDepsConfig env nfp
543
544
return $ fromMaybe (error $ " Unable to load file: " <> fp) res
544
545
545
546
needsQuickCheck :: [(Section , Test )] -> Bool
You can’t perform that action at this time.
0 commit comments