Skip to content

Commit 8aae53d

Browse files
committed
attempt compat. with GHC 9.x
1 parent 0dc5dde commit 8aae53d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: ghcide/src/Development/IDE/GHC/Orphans.hs

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ instance Hashable GhcPlugins.InstalledUnitId where
5151
hashWithSalt salt = hashWithSalt salt . installedUnitIdString
5252
#else
5353
instance Show InstalledUnitId where show = prettyPrint
54+
deriving instance Ord SrcSpan
55+
deriving instance Ord UnhelpfulSpanReason
5456
#endif
5557

5658
instance NFData SB.StringBuffer where rnf = rwhnf

0 commit comments

Comments
 (0)