From 8aae53d338fbeba658d2bd9a5cce684a0b8e2a90 Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Tue, 27 Jul 2021 11:44:01 +0100 Subject: [PATCH] attempt compat. with GHC 9.x --- ghcide/src/Development/IDE/GHC/Orphans.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghcide/src/Development/IDE/GHC/Orphans.hs b/ghcide/src/Development/IDE/GHC/Orphans.hs index 566e8aa0c61..97c38b1d583 100644 --- a/ghcide/src/Development/IDE/GHC/Orphans.hs +++ b/ghcide/src/Development/IDE/GHC/Orphans.hs @@ -51,6 +51,8 @@ instance Hashable GhcPlugins.InstalledUnitId where hashWithSalt salt = hashWithSalt salt . installedUnitIdString #else instance Show InstalledUnitId where show = prettyPrint +deriving instance Ord SrcSpan +deriving instance Ord UnhelpfulSpanReason #endif instance NFData SB.StringBuffer where rnf = rwhnf