We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b0f171 commit b59937bCopy full SHA for b59937b
lib/elixir/lib/code.ex
@@ -963,6 +963,7 @@ defmodule Code do
963
964
For compiling many files concurrently, see `Kernel.ParallelCompiler.compile/2`.
965
"""
966
+ @doc since: "1.7.0"
967
@spec compile_file(binary, nil | binary) :: [{module, binary}]
968
def compile_file(file, relative_to \\ nil) when is_binary(file) do
969
:elixir_compiler.file(find_file(file, relative_to), fn _, _ -> :ok end)
0 commit comments