Skip to content

Commit 12edab7

Browse files
author
José Valim
committed
Remove warning when making private functions overridable
1 parent 74f9a34 commit 12edab7

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/elixir/lib/module.ex

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -808,13 +808,6 @@ defmodule Module do
808808
"cannot make private macro #{name}/#{arity} overridable, overriding " <>
809809
"private macros is not supported"
810810
clause ->
811-
{{_def, kind, _line, _file, _check, _location, _defaults}, _clauses} = clause
812-
813-
# TODO: Remove on v2.0
814-
if kind == :defp do
815-
IO.warn "making private functions (#{name}/#{arity} in this case) overridable is deprecated"
816-
end
817-
818811
neighbours =
819812
if :elixir_compiler.get_opt(:internal) do
820813
[]

0 commit comments

Comments
 (0)