We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e622744 commit aa5379dCopy full SHA for aa5379d
ghcide/src/Development/IDE/Plugin/Completions/Logic.hs
@@ -445,7 +445,7 @@ localCompletionsForParsedModule uri pm@ParsedModule{pm_parsed_source = L _ HsMod
445
| L _ (ClassOpSig _ _ ids typ) <- tcdSigs
446
, id <- ids]
447
TyClD _ x ->
448
- let generalCompls = [mkComp id cl (Just $ ppr $ tcdLName x)
+ let generalCompls = [mkComp id cl (Just $ ppr $ tyClDeclLName x)
449
| id <- listify (\(_ :: Located(IdP GhcPs)) -> True) x
450
, let cl = occNameToComKind Nothing (rdrNameOcc $ unLoc id)]
451
-- here we only have to look at the outermost type
0 commit comments