@@ -20,27 +20,25 @@ import Development.IDE (GetHieAst (GetHieAst),
20
20
import Development.IDE.Core.PluginUtils (runIdeActionE ,
21
21
useWithStaleFastE )
22
22
import Development.IDE.Core.PositionMapping (fromCurrentPosition )
23
- import Development.IDE.GHC.Compat (ContextInfo (Use ),
24
- FastStringCompat , HieAST ,
25
- HieASTs ,
26
- IdentifierDetails , Name ,
23
+ import Development.IDE.GHC.Compat (FastStringCompat , Name ,
27
24
RealSrcSpan , SDoc ,
28
- getAsts ,
29
25
getSourceNodeIds ,
30
- hieTypeToIface ,
31
- hie_types , identInfo ,
32
- identType ,
26
+ hie_types ,
33
27
isAnnotationInNodeInfo ,
34
28
mkRealSrcLoc ,
35
- mkRealSrcSpan ,
36
- nodeChildren , nodeSpan ,
37
- nodeType , ppr ,
38
- recoverFullType ,
39
- smallestContainingSatisfying ,
29
+ mkRealSrcSpan , ppr ,
40
30
sourceNodeInfo )
41
31
import Development.IDE.GHC.Compat.Util (LexicalFastString (LexicalFastString ))
42
32
import GHC.Core.Map.Type (deBruijnize )
43
33
import GHC.Data.Maybe (rightToMaybe )
34
+ import GHC.Iface.Ext.Types (ContextInfo (Use ),
35
+ HieAST (nodeChildren , nodeSpan ),
36
+ HieASTs (getAsts ),
37
+ IdentifierDetails (identInfo , identType ),
38
+ nodeType )
39
+ import GHC.Iface.Ext.Utils (hieTypeToIface ,
40
+ recoverFullType ,
41
+ smallestContainingSatisfying )
44
42
import GHC.Types.SrcLoc (isRealSubspanOf )
45
43
import Ide.Plugin.Error (getNormalizedFilePathE )
46
44
import Ide.Types (PluginDescriptor (pluginHandlers ),
0 commit comments