Skip to content

Commit

Permalink
Fix type definition (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ferraz-oliveira committed Jun 16, 2023
1 parent 54eaef9 commit 8e3e7bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
MIX_ENV: test
strategy:
Expand Down
2 changes: 1 addition & 1 deletion lib/makeup/lexer/types.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule Makeup.Lexer.Types do
@type token :: {atom(), map(), iodata()}
@type tokens :: [token()]
@type context :: map()
@type parsec_success :: {:ok, tokens, String.t(), context(), integer(), integer()}
@type parsec_success :: {:ok, tokens, String.t(), context(), {integer(), integer()}, integer()}
@type parsec_failure :: {:error, String.t(), String.t(), context(), {integer(), integer()}, integer()}
@type parsec_result :: parsec_success | parsec_failure
@type parsec :: (String.t -> parsec_result)
Expand Down

0 comments on commit 8e3e7bc

Please sign in to comment.