Skip to content

Commit 6b2d069

Browse files
committed
Fix compatibility
1 parent 375db1c commit 6b2d069

File tree

1 file changed

+0
-4
lines changed
  • ghcide/src/Development/IDE/GHC/Compat

1 file changed

+0
-4
lines changed

ghcide/src/Development/IDE/GHC/Compat/Core.hs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -841,8 +841,6 @@ pattern L l a <- GHC.L (getLoc -> l) a
841841
type HasSrcSpan = SrcLoc.HasSrcSpan
842842
getLoc :: SrcLoc.HasSrcSpan a => a -> SrcLoc.SrcSpan
843843
getLoc = SrcLoc.getLoc
844-
instance HasSrcSpan SrcLoc.SrcSpan where
845-
Development.IDE.GHC.Compat.Core.getLoc = id
846844

847845
#else
848846

@@ -852,8 +850,6 @@ instance HasSrcSpan Name where
852850
getLoc = nameSrcSpan
853851
instance HasSrcSpan (SrcLoc.GenLocated SrcSpan a) where
854852
getLoc = SrcLoc.getLoc
855-
instance HasSrcSpan SrcSpan where
856-
getLoc = id
857853

858854
#endif
859855

0 commit comments

Comments
 (0)