We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Main
Any
This code:
defmodule Foo do def bar do require Logger Logger.warn "OMG" Logger.unknown "OMG" end end
emits:
$ elixir foo.exs warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead │ 4 │ Logger.warn "OMG" │ ~ │ └─ foo.exs:4:8: Foo.bar/0 warning: Logger.unknown/1 is undefined or private │ 5 │ Logger.unknown "OMG" │ ~ │ └─ foo.exs:5:7: Foo.bar/0
Notice one points to the dot, the other to the function name. Preferences?
To be decided.
The text was updated successfully, but these errors were encountered:
/cc @viniciusmuller.
Sorry, something went wrong.
@josevalim my 2c is that the function name is better, since that's the subject of the deprecation. Doesn't really matter though 🙃
a4c700b
No branches or pull requests
Elixir and Erlang/OTP versions
Main
Operating system
Any
Current behavior
This code:
emits:
Notice one points to the dot, the other to the function name. Preferences?
Expected behavior
To be decided.
The text was updated successfully, but these errors were encountered: