Skip to content

Commit 81c77f0

Browse files
committed
GHC compat.
1 parent 621255b commit 81c77f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ mkHiFileResult hirModSummary hirHomeMod = HiFileResult{..}
173173
hirIfaceFp = fingerprintToBS . getModuleHash . hm_iface $ hirHomeMod -- will always be two bytes
174174
hirLinkableFp = case hm_linkable hirHomeMod of
175175
Nothing -> ""
176-
Just LM{linkableTime} -> LBS.toStrict $
177-
B.encode (fromEnum $ utctDay linkableTime, fromEnum $ utctDayTime linkableTime)
176+
Just (linkableTime -> l) -> LBS.toStrict $
177+
B.encode (fromEnum $ utctDay l, fromEnum $ utctDayTime l)
178178

179179
hirModIface :: HiFileResult -> ModIface
180180
hirModIface = hm_iface . hirHomeMod

0 commit comments

Comments
 (0)