Skip to content
Snippets Groups Projects
Unverified Commit f7a9c5a5 authored by Hécate Moonlight's avatar Hécate Moonlight Committed by GitHub
Browse files

Merge pull request #1349 from Kleidukos/fix-interface-guesstarget-call

Fix the call-site of guessTarget in Interface.hs
parents 7f4bd049 5a6b3811
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ import GHC.Data.Graph.Directed (flattenSCCs)
import GHC.Driver.Env (hsc_dflags, hsc_home_unit, hsc_logger, hsc_static_plugins, hsc_units)
import GHC.Driver.Monad (modifySession, withTimingM)
import GHC.Driver.Session hiding (verbosity)
import GHC.HsToCore.Docs
import GHC.HsToCore.Docs (getMainDeclBinder)
import GHC.Plugins (Outputable, Plugin (..), PluginWithArgs (..), StaticPlugin (..), defaultPlugin, keepRenamedSource)
import GHC.Tc.Types (TcGblEnv (..), TcM)
import GHC.Tc.Utils.Env (tcLookupGlobal)
......@@ -158,7 +158,7 @@ createIfaces verbosity modules flags instIfaceMap = do
-- alive to be able to find all the instances.
modifySession installHaddockPlugin
targets <- mapM (\filePath -> guessTarget filePath Nothing Nothing) modules
targets <- mapM (\filePath -> guessTarget filePath Nothing) modules
setTargets targets
loadOk <- withTimingM "load" (const ()) $
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment