Skip to content

Commit 5f735de

Browse files
author
José Valim
committed
Do not pass kind to definition_scope
1 parent 96ba934 commit 5f735de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/exception.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ defmodule Exception do
230230
{_, kind, _, clauses} <- List.keyfind(defs, {function, arity}, 0) do
231231
clauses =
232232
for {meta, ex_args, guards, _block} <- clauses do
233-
scope = :elixir_erl.definition_scope(meta, kind, "nofile")
233+
scope = :elixir_erl.definition_scope(meta, "nofile")
234234
{erl_args, scope} =
235235
:elixir_erl_clauses.match(&:elixir_erl_pass.translate_args/2, ex_args, scope)
236236
{args, binding} =

0 commit comments

Comments
 (0)