Skip to content

Commit

Permalink
Swapped argument names (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielelana authored and aherrmann-da committed Dec 23, 2019
1 parent 31edb5b commit 359cdf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Development/IDE/Spans/AtPoint.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 359cdf5

Please sign in to comment.