So looking at the source code in this file, I see a backwards pointing arrow like pid <- {:message, message, m}
. Was that ever valid Elixir syntax? And what is the valid syntax now to make the RingOne
module behave correctly when I paste it into an iex shell?
1
votes
1 Answers
3
votes
Yes, the !
operator was deprecated in favor of send/2
in 2014 and removed a few days later. It's simple to fix: just change all a <- b
expressions to send(a, b)
.