Skip to content

Commit a60532e

Browse files
committed
Fix incomplete pattern match warning in 8.8
1 parent bd0046b commit a60532e

File tree

1 file changed

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

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,9 @@ uniqueCompl candidate unique =
681681
importedFrom (provenance -> ImportedFrom m) = m
682682
importedFrom (provenance -> DefinedIn m) = m
683683
importedFrom (provenance -> Local _) = "local"
684+
#if __GLASGOW_HASKELL__ < 810
685+
importedFrom _ = ""
686+
#endif
684687

685688
-- ---------------------------------------------------------------------
686689
-- helper functions for infix backticks

0 commit comments

Comments
 (0)