Skip to content

Commit 4f533cf

Browse files
authored
Fix ^^^ warning (#10814)
Bitwise.xor/2 -> Bitwise.bxor/2
1 parent f546c84 commit 4f533cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/src/elixir_tokenizer.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ handle_op(Rest, Line, Column, Kind, Length, Op, Scope, Tokens) ->
765765
%% TODO: Remove this deprecation and fix precedence on Elixir v2.0
766766
case Op of
767767
'^^^' ->
768-
Msg = "^^^ is deprecated. It is typically used as xor but it has the wrong precedence, use Bitwise.xor/2 instead",
768+
Msg = "^^^ is deprecated. It is typically used as xor but it has the wrong precedence, use Bitwise.bxor/2 instead",
769769
prepend_warning({Line, Scope#elixir_tokenizer.file, Msg}, Scope);
770770

771771
_ ->

0 commit comments

Comments
 (0)