File tree 2 files changed +1
-4
lines changed
ghcide/src/Development/IDE/GHC/Compat
plugins/hls-class-plugin/src/Ide/Plugin/Class
2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -841,8 +841,6 @@ pattern L l a <- GHC.L (getLoc -> l) a
841
841
type HasSrcSpan = SrcLoc. HasSrcSpan
842
842
getLoc :: SrcLoc. HasSrcSpan a => a -> SrcLoc. SrcSpan
843
843
getLoc = SrcLoc. getLoc
844
- instance HasSrcSpan SrcLoc. SrcSpan where
845
- Development.IDE.GHC.Compat.Core. getLoc = id
846
844
847
845
#else
848
846
@@ -852,8 +850,6 @@ instance HasSrcSpan Name where
852
850
getLoc = nameSrcSpan
853
851
instance HasSrcSpan (SrcLoc. GenLocated SrcSpan a ) where
854
852
getLoc = SrcLoc. getLoc
855
- instance HasSrcSpan SrcSpan where
856
- getLoc = id
857
853
858
854
#endif
859
855
Original file line number Diff line number Diff line change 5
5
6
6
module Ide.Plugin.Class.CodeAction where
7
7
8
+ import Control.Applicative (liftA2 )
8
9
import Control.Lens hiding (List , use )
9
10
import Control.Monad.Extra
10
11
import Control.Monad.IO.Class (liftIO )
You can’t perform that action at this time.
0 commit comments