mirror of
https://github.com/haskell/ghcide.git
synced 2024-12-04 15:52:08 +03:00
Swapped argument names (#289)
This commit is contained in:
parent
31edb5b010
commit
359cdf5b24
@ -55,8 +55,8 @@ atPoint
|
||||
-> [SpanInfo]
|
||||
-> Position
|
||||
-> Maybe (Maybe Range, [T.Text])
|
||||
atPoint IdeOptions{..} tcs pos srcSpans = do
|
||||
firstSpan <- listToMaybe $ deEmpasizeGeneratedEqShow $ spansAtPoint srcSpans pos
|
||||
atPoint IdeOptions{..} tcs srcSpans pos = do
|
||||
firstSpan <- listToMaybe $ deEmpasizeGeneratedEqShow $ spansAtPoint pos srcSpans
|
||||
return (Just (range firstSpan), hoverInfo firstSpan)
|
||||
where
|
||||
-- Hover info for types, classes, type variables
|
||||
|
Loading…
Reference in New Issue
Block a user