File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,6 @@ library
62
62
, ghc-lib-parser-ex ^>= 8.10
63
63
64
64
cpp-options : -DGHC_LIB
65
- mixins :
66
- ghc (GHC as RealGHC, HscTypes as RealGHC.HscTypes, EnumSet as RealGHC.EnumSet)
67
65
68
66
ghc-options : -Wall -Wredundant-constraints -Wno-name-shadowing
69
67
Original file line number Diff line number Diff line change 5
5
{-# LANGUAGE FlexibleContexts #-}
6
6
{-# LANGUAGE FlexibleInstances #-}
7
7
{-# LANGUAGE OverloadedStrings #-}
8
+ {-# LANGUAGE PackageImports #-}
8
9
{-# LANGUAGE RecordWildCards #-}
9
10
{-# LANGUAGE TupleSections #-}
10
11
{-# LANGUAGE TypeFamilies #-}
@@ -38,16 +39,17 @@ import Development.IDE.Core.Shake hiding (withIndefiniteProgress)
38
39
import Development.IDE.Types.Diagnostics as D
39
40
import Development.IDE.Types.Location
40
41
import Development.Shake
41
- -- import Development.Shake hiding ( Diagnostic )
42
- import GHC hiding (DynFlags (.. ))
43
42
44
43
#ifdef GHC_LIB
45
44
import Development.IDE.Core.RuleTypes (GhcSession (.. ))
46
45
import Development.IDE.GHC.Util (hscEnv )
47
- import RealGHC (DynFlags (.. ))
48
- import RealGHC.HscTypes (hsc_dflags )
49
- import qualified RealGHC.EnumSet as EnumSet
46
+ import "ghc-lib" GHC hiding (DynFlags (.. ))
47
+ import "ghc" GHC as RealGHC (DynFlags (.. ))
48
+ import "ghc" HscTypes as RealGHC.HscTypes (hsc_dflags )
49
+ import qualified "ghc" EnumSet as EnumSet
50
50
import Language.Haskell.GhclibParserEx.GHC.Driver.Session as GhclibParserEx (readExtension )
51
+ #else
52
+ import GHC hiding (DynFlags (.. ))
51
53
#endif
52
54
53
55
import Ide.Logger
You can’t perform that action at this time.
0 commit comments