Open fantypants opened 2 years ago
Just curious what version of Elixir are you on?
Erlang/OTP 22 [erts-10.6.4] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1]
Elixir 1.9.1 (compiled with Erlang/OTP 22)
Thanks for the prompt reply!
Ah yeah, this is why. :asc
was introduced later. But no reason we can't update this for backward compatibility.
Ah yeah, this is why.
:asc
was introduced later. But no reason we can't update this for backward compatibility.
have a suss at the PR I just submitted, let me know if there's anything we can do further to support
batch_cache:44 returns
Relevant fix: Change:
Enum.sort_by(pending_events, & &1.id, :asc)
toEnum.sort_by(pending_events, &(&1.id), &<=/2)