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 2d221d8 commit 953db22Copy full SHA for 953db22
ghcide/src/Development/IDE/Plugin/TypeLenses.hs
@@ -498,9 +498,9 @@ findBindingsQ = something (mkQ Nothing findBindings)
498
where
499
col = srcSpanStartCol . realSrcSpan
500
501
- findSigIds :: GenLocated l (Sig GhcRn) -> [IdP GhcRn]
502
- findSigIds (L _ (TypeSig _ names _)) = map unLoc names
503
- findSigIds _ = []
+ findSigIds :: LSig GhcRn -> [Name]
+ findSigIds (unLoc -> (TypeSig _ names _)) = map unLoc names
+ findSigIds _ = []
504
505
-- | Provide code lens for local bindings.
506
localBindingInlayHints :: PluginMethodHandler IdeState Method_TextDocumentInlayHint
0 commit comments