You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It isn't clear to me whether this warning is meant to indicate that ^^^ is deprecated entirely, or just in its use as a delegate for Bitwise.bxor/2. The fact that it calls out Bitwise.bxor/2 specifically makes me think that the deprecation is limited to that use, but the warning is output in all cases:
Note, also, that in the last snippet the warning is output after the result of the expression is printed, causing it to be rendered as part of the prompt for iex(4)>
I suppose my question is: is ^^^ going to be removed entirely in Elixir 2.0.0, and if so, should the warning be updated to reflect that more clearly?
The text was updated successfully, but these errors were encountered:
@QuinnWilton let's wait for José but I'm pretty sure ^^^ is only deprecated as an alias for Bitwise.bxor/2 since it's gonna be in the operators list anyways. I agree that if that's the case we could improve the warning, thanks for reporting 💟
The operator will change precedence in Elixir v2.0.0 but not be removed. So my advice is to consider it as if it will be removed as the precedence change may break code.
Hello! In Elixir 1.12,
^^^
began outputting a deprecation warning:It isn't clear to me whether this warning is meant to indicate that
^^^
is deprecated entirely, or just in its use as a delegate forBitwise.bxor/2
. The fact that it calls outBitwise.bxor/2
specifically makes me think that the deprecation is limited to that use, but the warning is output in all cases:Note, also, that in the last snippet the warning is output after the result of the expression is printed, causing it to be rendered as part of the prompt for
iex(4)>
I suppose my question is: is
^^^
going to be removed entirely in Elixir 2.0.0, and if so, should the warning be updated to reflect that more clearly?The text was updated successfully, but these errors were encountered: