Skip to content

Commit 619b1ee

Browse files
authored
Soft-deprecate Kernel.unless/2 (#13851)
1 parent b528280 commit 619b1ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/elixir/lib/kernel.ex

+2
Original file line numberDiff line numberDiff line change
@@ -3956,6 +3956,8 @@ defmodule Kernel do
39563956
"Math still works"
39573957
39583958
"""
3959+
# TODO: Deprecate this on Elixir v1.22.
3960+
@doc deprecated: "Use if/2 instead"
39593961
defmacro unless(condition, clauses) do
39603962
build_unless(condition, clauses)
39613963
end

0 commit comments

Comments
 (0)