We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 375db1c commit 6b2d069Copy full SHA for 6b2d069
ghcide/src/Development/IDE/GHC/Compat/Core.hs
@@ -841,8 +841,6 @@ pattern L l a <- GHC.L (getLoc -> l) a
841
type HasSrcSpan = SrcLoc.HasSrcSpan
842
getLoc :: SrcLoc.HasSrcSpan a => a -> SrcLoc.SrcSpan
843
getLoc = SrcLoc.getLoc
844
-instance HasSrcSpan SrcLoc.SrcSpan where
845
- Development.IDE.GHC.Compat.Core.getLoc = id
846
847
#else
848
@@ -852,8 +850,6 @@ instance HasSrcSpan Name where
852
850
getLoc = nameSrcSpan
853
851
instance HasSrcSpan (SrcLoc.GenLocated SrcSpan a) where
854
855
-instance HasSrcSpan SrcSpan where
856
- getLoc = id
857
858
#endif
859
0 commit comments