Swapped argument names (#289)

This commit is contained in:
Gabriele Lana 2019-12-23 10:48:38 +01:00 committed by Andreas Herrmann
parent 31edb5b010
commit 359cdf5b24

View File

@ -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