Skip to content

Commit 78f34b2

Browse files
committed
attempt compat. with GHC 9.x
1 parent 0dc5dde commit 78f34b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ghcide/src/Development/IDE/GHC/Orphans.hs

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ 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
5455
#endif
5556

5657
instance NFData SB.StringBuffer where rnf = rwhnf

0 commit comments

Comments
 (0)