We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4c52957 + aa5379d commit a4c87a4Copy full SHA for a4c87a4
ghcide/src/Development/IDE/Plugin/Completions/Logic.hs
@@ -467,7 +467,7 @@ localCompletionsForParsedModule uri pm@ParsedModule{pm_parsed_source = L _ HsMod
467
| L _ (ClassOpSig _ _ ids typ) <- tcdSigs
468
, id <- ids]
469
TyClD _ x ->
470
- let generalCompls = [mkComp id cl (Just $ showForSnippet $ tcdLName x)
+ let generalCompls = [mkComp id cl (Just $ showForSnippet $ tyClDeclLName x)
471
| id <- listify (\(_ :: LIdP GhcPs) -> True) x
472
, let cl = occNameToComKind Nothing (rdrNameOcc $ unLoc id)]
473
-- here we only have to look at the outermost type
0 commit comments