@@ -82,6 +82,8 @@ import GHC (ClsInst,
82
82
setTargets , typeKind )
83
83
import qualified GHC.LanguageExtensions.Type as LangExt (Extension (.. ))
84
84
85
+ import Development.IDE.Core.FileStore (setSomethingModified )
86
+ import Development.IDE.Types.Shake (toKey )
85
87
import Ide.Plugin.Eval.Code (Statement , asStatements ,
86
88
evalSetup , myExecStmt ,
87
89
propSetup , resultRange ,
@@ -90,6 +92,7 @@ import Ide.Plugin.Eval.GHC (addImport, addPackages,
90
92
hasPackage , showDynFlags )
91
93
import Ide.Plugin.Eval.Parse.Comments (commentsToSections )
92
94
import Ide.Plugin.Eval.Parse.Option (parseSetFlags )
95
+ import Ide.Plugin.Eval.Rules (queueForEvaluation )
93
96
import Ide.Plugin.Eval.Types
94
97
import Ide.Plugin.Eval.Util (asS , gStrictTry , handleMaybe ,
95
98
handleMaybeM , isLiterate ,
@@ -110,10 +113,7 @@ import UnliftIO.Temporary (withSystemTempFile)
110
113
import GHC.Driver.Session (unitDatabases , unitState )
111
114
import GHC.Types.SrcLoc (UnhelpfulSpanReason (UnhelpfulInteractive ))
112
115
#else
113
- import Development.IDE.Core.FileStore (setSomethingModified )
114
- import Development.IDE.Types.Shake (toKey )
115
116
import DynFlags
116
- import Ide.Plugin.Eval.Rules (queueForEvaluation )
117
117
#endif
118
118
119
119
0 commit comments