Skip to content

Commit 2afb875

Browse files
author
José Valim
committed
Merge pull request #2725 from MSch/document-compile-attr-accumulation
Document that @compile accumulates.
2 parents 275d1f5 + 88507f6 commit 2afb875

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/elixir/lib/module.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ defmodule Module do
8585
See http://www.erlang.org/doc/man/compile.html for the list of supported
8686
options.
8787
88+
Several uses of `@compile` will accumulate instead of overriding
89+
previous ones.
90+
8891
### Example
8992
9093
defmodule M do

0 commit comments

Comments
 (0)