Skip to content

Commit dea4314

Browse files
committed
Fix shadowed variable warning.
1 parent fd78a6d commit dea4314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Text/Parsing/Parser/Pos.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ initialPos = Position { line: 1, column: 1 }
2727

2828
-- | Updates a `Position` by adding the columns and lines in `String`.
2929
updatePosString :: Position -> String -> Position
30-
updatePosString pos str = foldl updatePosChar pos (split (wrap "") str)
30+
updatePosString pos' str = foldl updatePosChar pos' (split (wrap "") str)
3131
where
3232
updatePosChar (Position pos) c = case c of
3333
"\n" -> Position { line: pos.line + 1, column: 1 }

0 commit comments

Comments
 (0)