Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 5d2c155

Browse files
committed
Moved imports inside GHC guard
1 parent c6e265b commit 5d2c155

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Haskell/Ide/Engine/Plugin/Ormolu.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44

55
module Haskell.Ide.Engine.Plugin.Ormolu ( ormoluDescriptor ) where
66

7-
import Control.Monad.IO.Class ( liftIO, MonadIO(..) )
8-
import Control.Exception
97
import Data.Aeson ( Value ( Null ) )
108
import Data.Text
119
import Haskell.Ide.Engine.MonadTypes
12-
import Haskell.Ide.Engine.PluginUtils
1310

1411
#if __GLASGOW_HASKELL__ >= 806
12+
import Control.Exception
13+
import Control.Monad.IO.Class ( liftIO , MonadIO(..) )
1514
import Ormolu
1615
import Ormolu.Config (defaultConfig)
1716
import Ormolu.Exception (OrmoluException)
17+
import Haskell.Ide.Engine.PluginUtils
1818
#else
1919
import Haskell.Ide.Engine.MonadFunctions
2020
#endif

0 commit comments

Comments
 (0)