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 86d3751 commit 4689205Copy full SHA for 4689205
lib/elixir/lib/code.ex
@@ -1717,7 +1717,9 @@ defmodule Code do
1717
def put_compiler_option(:warnings_as_errors, _value) do
1718
IO.warn(
1719
":warnings_as_errors is deprecated as part of Code.put_compiler_option/2, " <>
1720
- "pass it as option to Kernel.ParallelCompiler instead"
+ "pass it as option to Kernel.ParallelCompiler instead or as a --warnings-as-errors flag. " <>
1721
+ "If you need to set it as a default in a mix task, you can also set it under aliases: " <>
1722
+ "[compile: \"compile --warnings-as-errors\"]"
1723
)
1724
1725
:ok
0 commit comments