Lift loading settings from IO for GHC 8.10

This commit is contained in:
Taylor Fausak 2022-06-19 21:09:41 -04:00 committed by GitHub
parent 33ea7514f0
commit 012c9e6e0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ action
-> GHC.HsParsedModule
-> GHC.Hsc GHC.HsParsedModule
action commandLineOptions modSummary hsParsedModule = do
(parseFlags, classifies, hint) <- Settings.load commandLineOptions
(parseFlags, classifies, hint) <- GHC.liftIO $ Settings.load commandLineOptions
moduleEx <- parse parseFlags modSummary hsParsedModule
dynFlags <- GHC.getDynFlags
GHC.liftIO