File tree 5 files changed +10
-10
lines changed
5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ library
87
87
, hashable
88
88
, hie-bios == 0.13.1
89
89
, hie-compat ^>= 0.3.0.0
90
- , hiedb ^>= 0.5 .0.1
90
+ , hiedb ^>= 0.6 .0.0
91
91
, hls-graph == 2.6.0.0
92
92
, hls-plugin-api == 2.6.0.0
93
93
, implicit-hie >= 0.1.4.0 && < 0.1.5
Original file line number Diff line number Diff line change @@ -1116,16 +1116,16 @@ getLinkableRule recorder =
1116
1116
HiFileResult {hirModIface, hirModDetails, hirCoreFp} <- use_ GetModIface f
1117
1117
let obj_file = ml_obj_file (ms_location ms)
1118
1118
core_file = ml_core_file (ms_location ms)
1119
- -- Can't use `GetModificationTime` rule because the core file was possibly written in this
1120
- -- very session, so the results aren't reliable
1121
- core_t <- liftIO $ getModTime core_file
1122
1119
case hirCoreFp of
1123
- Nothing -> error " called GetLinkable for a file without a linkable"
1120
+ Nothing -> error $ " called GetLinkable for a file without a linkable: " ++ show f
1124
1121
Just (bin_core, fileHash) -> do
1125
1122
session <- use_ GhcSessionDeps f
1126
1123
linkableType <- getLinkableType f >>= \ case
1127
- Nothing -> error " called GetLinkable for a file which doesn't need compilation"
1124
+ Nothing -> error $ " called GetLinkable for a file which doesn't need compilation: " ++ show f
1128
1125
Just t -> pure t
1126
+ -- Can't use `GetModificationTime` rule because the core file was possibly written in this
1127
+ -- very session, so the results aren't reliable
1128
+ core_t <- liftIO $ getModTime core_file
1129
1129
(warns, hmi) <- case linkableType of
1130
1130
-- Bytecode needs to be regenerated from the core file
1131
1131
BCOLinkable -> liftIO $ coreFileToLinkable linkableType (hscEnv session) ms hirModIface hirModDetails bin_core (posixSecondsToUTCTime core_t)
Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ library hls-call-hierarchy-plugin
305
305
, containers
306
306
, extra
307
307
, ghcide == 2.6.0.0
308
- , hiedb
308
+ , hiedb ^ >= 0.6.0.0
309
309
, hls-plugin-api == 2.6.0.0
310
310
, lens
311
311
, lsp >= 2.4
@@ -488,7 +488,7 @@ library hls-rename-plugin
488
488
, containers
489
489
, ghcide == 2.6.0.0
490
490
, hashable
491
- , hiedb
491
+ , hiedb ^ >= 0.6.0.0
492
492
, hie-compat
493
493
, hls-plugin-api == 2.6.0.0
494
494
, haskell-language-server :hls-refactor-plugin
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ allow-newer: true
18
18
19
19
extra-deps :
20
20
- floskell-0.11.1
21
- - hiedb-0.5 .0.1
21
+ - hiedb-0.6 .0.0
22
22
- hie-bios-0.13.1
23
23
- implicit-hie-0.1.4.0
24
24
- monad-dijkstra-0.1.1.3
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ allow-newer: true
18
18
extra-deps :
19
19
- floskell-0.11.1
20
20
- retrie-1.2.2
21
- - hiedb-0.5 .0.1
21
+ - hiedb-0.6 .0.0
22
22
- implicit-hie-0.1.4.0
23
23
- lsp-2.4.0.0
24
24
- lsp-test-0.17.0.0
You can’t perform that action at this time.
0 commit comments