Skip to content

Commit 6767680

Browse files
committed
WIP: add some lints to check
1 parent 3b956d7 commit 6767680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ghcide/src/Development/IDE/Spans/AtPoint.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ atPoint
205205
atPoint IdeOptions{} (HAR _ hf _ _ kind) (DKMap dm km) env pos = listToMaybe $ pointCommand hf pos hoverInfo
206206
where
207207
-- Hover info for values/data
208-
hoverInfo ast = (Just range, prettyNames ++ pTypes)
208+
hoverInfo ast = (Just range, prettyNames ++ [] ++ pTypes)
209209
where
210210
pTypes
211211
| Prelude.length names == 1 = dropEnd1 $ map wrapHaskell prettyTypes

0 commit comments

Comments
 (0)