Skip to content

Commit

Permalink
Merge pull request #42 from ieQu1/dev/ci-26
Browse files Browse the repository at this point in the history
ci: Run on OTP 26
  • Loading branch information
ieQu1 authored Jan 16, 2024
2 parents 7bbe4ca + 648130f commit e75e57c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
otp: [25.1, 21.3.8.21]
otp: [26.1, 21.3.8.21]
container:
image: erlang:${{ matrix.otp }}

Expand Down
4 changes: 2 additions & 2 deletions src/typerefl.erl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
%% Special types that should not be imported:
-export([node/0, union/2, union/1, tuple/1, range/2]).

-export_type([type/0, check_result/0, result/0, typename/0, err/0]).
-export_type([type/0, check_result/0, result/0, typename/0, err/0, thunk/1]).

-type err() :: map().

Expand Down Expand Up @@ -838,7 +838,7 @@ string_to_term(String) ->
{error, "Unable to tokenize Erlang term"}
end.

-spec re_match(string() | binary(), re:mp()) -> boolean().
-spec re_match(string() | binary(), _RE) -> boolean().
re_match(Str, RE) ->
try re:run(Str, RE, [{capture, none}]) of
match -> true;
Expand Down

0 comments on commit e75e57c

Please sign in to comment.