Skip to content

Commit

Permalink
Fix type of byte_offset (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrenner authored Jan 12, 2024
1 parent 0ccc43e commit 1fedf42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nimble_parsec/compiler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ defmodule NimbleParsec.Compiler do
{:ok, [term], rest, context, line, byte_offset}
| {:error, reason, rest, context, line, byte_offset}
when line: {pos_integer, byte_offset},
byte_offset: pos_integer,
byte_offset: non_neg_integer,
rest: binary,
reason: String.t(),
context: map
Expand Down

0 comments on commit 1fedf42

Please sign in to comment.