WhatsApp / waraft

An Erlang implementation of RAFT from WhatsApp
Apache License 2.0
556 stars 35 forks source link

Require OTP 25 #4

Open robertoaloi opened 2 years ago

robertoaloi commented 2 years ago

CI currently fails due to Dialyzer relying on OTP 25 specs:

===> Analyzing 22 files with _build/default/rebar3_24.3.4.3_plt...

src/wa_raft_acceptor.erl
Line 63 Column 29: Unknown type gen_server:from/0
Line 95 Column 25: Unknown type gen_server:server_ref/0
Line 179 Column 25: Unknown type gen_server:from/0

src/wa_raft_queue.erl
Line 108 Column 60: Unknown type gen_server:from/0
Line [22](https://github.com/WhatsApp/waraft/runs/8045238407?check_suite_focus=true#step:9:23)2 Column 64: Unknown type gen_server:from/0
Line 303 Column 46: Unknown type gen_server:from/0
facebook-github-bot commented 2 years ago

@ilya-klyuchnikov has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.