File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
plugins/hls-eval-plugin/src/Ide/Plugin/Eval Expand file tree Collapse file tree 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 (..),
5050 ModSummaryResult (.. ),
5151 NeedsCompilation (NeedsCompilation ),
5252 evalGhcEnv , hscEnv ,
53+ hscEnvWithImportPaths ,
5354 prettyPrint , runAction ,
5455 textToStringBuffer ,
5556 toNormalizedFilePath' ,
@@ -539,7 +540,7 @@ runGetSession st nfp = liftIO $ runAction "eval" st $ do
539540 ((_, res),_) <- liftIO $ loadSessionFun fp
540541 let env = fromMaybe (error $ " Unknown file: " <> fp) res
541542 ghcSessionDepsConfig = def{forceLinkables = True , checkForImportCycles = False }
542- res <- fmap hscEnv <$> ghcSessionDepsDefinition ghcSessionDepsConfig env nfp
543+ res <- fmap hscEnvWithImportPaths <$> ghcSessionDepsDefinition ghcSessionDepsConfig env nfp
543544 return $ fromMaybe (error $ " Unable to load file: " <> fp) res
544545
545546needsQuickCheck :: [(Section , Test )] -> Bool
You can’t perform that action at this time.
0 commit comments