Skip to content

Commit f4f2be6

Browse files
devonestesjosevalim
authored andcommitted
Fix docs for compiler tracing events (#9760)
The `local_function` event is a tuple with four elements, not five.
1 parent 686daad commit f4f2be6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/code.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ defmodule Code do
7575
function or macro is referenced. `meta` is the call AST metadata, `module`
7676
is the invoked module, followed by the `name` and `arity`.
7777
78-
* `{:local_function, meta, module, name, arity}` and
79-
`{:local_macro, meta, module, name, arity}` - traced whenever a local
78+
* `{:local_function, meta, name, arity}` and
79+
`{:local_macro, meta, name, arity}` - traced whenever a local
8080
function or macro is referenced. `meta` is the call AST metadata, `module`
8181
is the invoked module, followed by the `name` and `arity`.
8282

0 commit comments

Comments
 (0)