Skip to content

Commit da753af

Browse files
committed
export map improvements
1 parent 64aaf4e commit da753af

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ fromIdentInfo doc id@IdentInfo{..} q = CI
290290
, provenance = DefinedIn mod
291291
, label=rend
292292
, isInfix=Nothing
293-
, isTypeCompl= not isDatacon && isUpper (T.head rend)
293+
, isTypeCompl= not (isDatacon id) && isUpper (T.head rend)
294294
, additionalTextEdits= Just $
295295
ExtendImport
296296
{ doc,

0 commit comments

Comments
 (0)