Skip to content

Commit 359cdf5

Browse files
gabrielelanaaherrmann-da
authored andcommitted
Swapped argument names (#289)
1 parent 31edb5b commit 359cdf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Development/IDE/Spans/AtPoint.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ atPoint
5555
-> [SpanInfo]
5656
-> Position
5757
-> Maybe (Maybe Range, [T.Text])
58-
atPoint IdeOptions{..} tcs pos srcSpans = do
59-
firstSpan <- listToMaybe $ deEmpasizeGeneratedEqShow $ spansAtPoint srcSpans pos
58+
atPoint IdeOptions{..} tcs srcSpans pos = do
59+
firstSpan <- listToMaybe $ deEmpasizeGeneratedEqShow $ spansAtPoint pos srcSpans
6060
return (Just (range firstSpan), hoverInfo firstSpan)
6161
where
6262
-- Hover info for types, classes, type variables

0 commit comments

Comments
 (0)