Skip to content

Commit 992ffb1

Browse files
committed
Use mpickering/hls ghcide branch
At b4c3619346f4fe89ac036322fdd9ed178fb66685
1 parent bc457df commit 992ffb1

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

exe/Main.hs

+3-3
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ main = do
223223

224224
putStrLn "\nStep 4/6: Type checking the files"
225225
setFilesOfInterest ide $ HashSet.fromList $ map toNormalizedFilePath' files
226-
_ <- runActionSync "TypecheckTest" ide $ uses TypeCheck (map toNormalizedFilePath' files)
226+
-- _ <- runActionSync "TypecheckTest" ide $ uses TypeCheck (map toNormalizedFilePath' files)
227227
-- results <- runActionSync ide $ use TypeCheck $ toNormalizedFilePath' "src/Development/IDE/Core/Rules.hs"
228228
-- results <- runActionSync ide $ use TypeCheck $ toNormalizedFilePath' "exe/Main.hs"
229229
cancel worker
@@ -471,11 +471,11 @@ loadSession dir = liftIO $ do
471471
let cfps = map fst cs
472472
-- Delayed to avoid recursion and only run if something changed.
473473
unless (null cs) (
474-
delay "InitialLoad" $ void $ do
474+
delay "InitialLoad" ("InitialLoad" :: String, cfps) (void $ do
475475
cfps' <- liftIO $ filterM (IO.doesFileExist . fromNormalizedFilePath) cfps
476476
mmt <- uses GetModificationTime cfps'
477477
let cs_exist = catMaybes (zipWith (<$) cfps' mmt)
478-
uses GetModIface cs_exist)
478+
uses GetModIface cs_exist))
479479
return opts
480480

481481

stack-8.6.4.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ extra-deps:
3737
- monad-memo-0.4.1
3838
- multistate-0.8.0.1
3939
- ormolu-0.0.5.0
40+
- opentelemetry-0.3.0
4041
- parser-combinators-1.2.1
4142
- regex-base-0.94.0.0
4243
- regex-tdfa-1.3.1.0

stack-8.6.5.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ extra-deps:
2828
- indexed-profunctors-0.1
2929
- lsp-test-0.10.2.0
3030
- monad-dijkstra-0.1.1.2
31+
- opentelemetry-0.3.0
3132
- optics-core-0.2
3233
- optparse-applicative-0.15.1.0
3334
- ormolu-0.0.5.0

stack.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ extra-deps:
2727
- indexed-profunctors-0.1
2828
- lsp-test-0.10.2.0
2929
- monad-dijkstra-0.1.1.2
30+
- opentelemetry-0.3.0
3031
- optics-core-0.2
3132
- optparse-applicative-0.15.1.0
3233
- ormolu-0.0.5.0

0 commit comments

Comments
 (0)