Skip to content

Commit bc82936

Browse files
committed
Include module_definition in compiler available options
1 parent 18be4dc commit bc82936

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

lib/elixir/lib/code.ex

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,12 @@ defmodule Code do
312312

313313
@available_compiler_options @boolean_compiler_options ++
314314
@list_compiler_options ++
315-
[:on_undefined_variable, :infer_signatures, :no_warn_undefined]
315+
[
316+
:on_undefined_variable,
317+
:infer_signatures,
318+
:no_warn_undefined,
319+
:module_definition
320+
]
316321

317322
@doc """
318323
Lists all required files.

0 commit comments

Comments
 (0)