Skip to content

Commit

Permalink
Merge pull request #19 from savi-lang/fix/error-type-explicit
Browse files Browse the repository at this point in the history
Fix JSON.Parser to have an explicit error type.
  • Loading branch information
jemc authored Jun 10, 2024
2 parents 4b39a10 + b089736 commit ec4c3a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/JSON.Parser.savi
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@

:fun ref _parse_data!
:yields JSON.Token for None
:errors None
@_skip_whitespace
@_pre_token
peeked = @_peek!
Expand Down

0 comments on commit ec4c3a2

Please sign in to comment.