Skip to content

Commit

Permalink
Fix dialyzer'ing for OTP 27
Browse files Browse the repository at this point in the history
  • Loading branch information
kivra-pauoli committed Jun 20, 2024
1 parent 424f2a8 commit 1564069
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@
deprecated_function_calls,deprecated_functions]}.

{erl_opts, [debug_info,warn_export_vars,warn_shadow_vars,warn_obsolete_guard]}.

{dialyzer, [{plt_extra_apps, [xmerl, erlsom]}]}.
2 changes: 1 addition & 1 deletion src/restc.erl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
-type content_type() :: multi | json | xml | percent | png.
-type body() :: binary() |
jsx:json_term() |
erlsom:simple_form() |
term() | % check erlsom:simple_form/1,2
multi_body().
-type multi_part() :: {Name::binary(), Value::binary()} |
{ file
Expand Down

0 comments on commit 1564069

Please sign in to comment.