Ah, thanks, parentheses indeed fix that.
On Friday, September 11, 2020 at 2:48:42 PM UTC+2 José Valim wrote:

> The & has low precedence (low binding). Therefore, "value ~> &op/1 ~> 
> &op2/1" is being parsed as "value ~> &(op/1 ~> &op2/1)", which is where the 
> warning comes from.
>
> Proof:
>
> iex(1)> Macro.to_string(quote do: value ~> &op/1 ~> &op2/1)
> "value ~> &(op / 1 ~> &op2/1)"
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/44d1def9-5598-4c6c-b8e7-90706bcbf9cbn%40googlegroups.com.

Reply via email to