Skip to content

Commit eb50a09

Browse files
fertapricJosé Valim
authored andcommitted
Clarify documentation of @compile :inline flag (#7909)
[ci skip] Signed-off-by: José Valim <[email protected]>
1 parent 2f8ecec commit eb50a09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/elixir/lib/module.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,8 @@ defmodule Module do
466466
of the corresponding setting in `Code.compiler_options/1`
467467
468468
* `@compile {:inline, some_fun: 2, other_fun: 3}` - inlines the given
469-
name/arity pairs
469+
name/arity pairs. Inlining is applied locally, calls from another
470+
module are not affected by this option
470471
471472
* `@compile {:autoload, false}` - disables automatic loading of
472473
modules after compilation. Instead, the module will be loaded after

0 commit comments

Comments
 (0)