Skip to content

Commit 953db22

Browse files
committed
refactor
1 parent 2d221d8 commit 953db22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ghcide/src/Development/IDE/Plugin/TypeLenses.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -498,9 +498,9 @@ findBindingsQ = something (mkQ Nothing findBindings)
498498
where
499499
col = srcSpanStartCol . realSrcSpan
500500

501-
findSigIds :: GenLocated l (Sig GhcRn) -> [IdP GhcRn]
502-
findSigIds (L _ (TypeSig _ names _)) = map unLoc names
503-
findSigIds _ = []
501+
findSigIds :: LSig GhcRn -> [Name]
502+
findSigIds (unLoc -> (TypeSig _ names _)) = map unLoc names
503+
findSigIds _ = []
504504

505505
-- | Provide code lens for local bindings.
506506
localBindingInlayHints :: PluginMethodHandler IdeState Method_TextDocumentInlayHint

0 commit comments

Comments
 (0)