Skip to content

Commit 34258ee

Browse files
committed
hlints
1 parent 5a58763 commit 34258ee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ghcide/src/Development/IDE/Core/Shake.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ import Development.IDE.GHC.Orphans ()
121121
import Development.IDE.Graph hiding (ShakeValue)
122122
import qualified Development.IDE.Graph as Shake
123123
import Development.IDE.Graph.Database (ShakeDatabase,
124+
shakeGetBuildStep,
124125
shakeOpenDatabase,
125126
shakeProfileDatabase,
126127
shakeRunDatabaseForKeys)
@@ -159,7 +160,6 @@ import Data.IORef.Extra (atomicModifyIORef'_,
159160
import Data.String (fromString)
160161
import Data.Text (pack)
161162
import Debug.Trace.Flags (userTracingEnabled)
162-
import Development.IDE.Graph.Database (shakeGetBuildStep)
163163
import qualified Development.IDE.Types.Exports as ExportsMap
164164
import HieDb.Types
165165
import Ide.Plugin.Config

ghcide/test/exe/Main.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5901,10 +5901,10 @@ garbageCollectionTests = testGroup "garbage collection"
59015901
, "a = ()"
59025902
]
59035903
doc <- reopenA
5904-
changeDoc doc ([TextDocumentContentChangeEvent Nothing Nothing edit])
5904+
changeDoc doc [TextDocumentContentChangeEvent Nothing Nothing edit]
59055905
builds <- waitForTypecheck doc
59065906
liftIO $ assertBool "it still builds" builds
5907-
expectCurrentDiagnostics doc ([(DsError, (2,4), "Couldn't match expected type")])
5907+
expectCurrentDiagnostics doc [(DsError, (2,4), "Couldn't match expected type")]
59085908
]
59095909

59105910
isExpected k = any (`isPrefixOf` k) ["GhcSessionIO"]

0 commit comments

Comments
 (0)