Skip to content

Commit a4c87a4

Browse files
committed
Merge remote-tracking branch 'upstream/master' into ghc-9.2
2 parents 4c52957 + aa5379d commit a4c87a4

File tree

1 file changed

+1
-1
lines changed
  • ghcide/src/Development/IDE/Plugin/Completions

1 file changed

+1
-1
lines changed

ghcide/src/Development/IDE/Plugin/Completions/Logic.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ localCompletionsForParsedModule uri pm@ParsedModule{pm_parsed_source = L _ HsMod
467467
| L _ (ClassOpSig _ _ ids typ) <- tcdSigs
468468
, id <- ids]
469469
TyClD _ x ->
470-
let generalCompls = [mkComp id cl (Just $ showForSnippet $ tcdLName x)
470+
let generalCompls = [mkComp id cl (Just $ showForSnippet $ tyClDeclLName x)
471471
| id <- listify (\(_ :: LIdP GhcPs) -> True) x
472472
, let cl = occNameToComKind Nothing (rdrNameOcc $ unLoc id)]
473473
-- here we only have to look at the outermost type

0 commit comments

Comments
 (0)