Skip to content
New issue

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

Fix dialyzer warnings #62

Open
rupurt opened this issue Feb 11, 2019 · 0 comments
Open

Fix dialyzer warnings #62

rupurt opened this issue Feb 11, 2019 · 0 comments

Comments

@rupurt
Copy link

rupurt commented Feb 11, 2019

$ mix dialyzer
==> erlex
Compiling 1 file (.yrl)
src/parser.yrl: Warning: conflicts: 25 shift/reduce, 0 reduce/reduce
Compiling 1 file (.xrl)
Compiling 2 files (.erl)
Compiling 1 file (.ex)
Generated erlex app
==> dialyxir
Compiling 56 files (.ex)
Generated dialyxir app
==> logger_file_backend
Compiling 1 file (.ex)
Generated logger_file_backend app
Finding suitable PLTs
Checking PLT...
[:compiler, :elixir, :kernel, :stdlib]
Looking up modules in dialyxir_erlang-21.2.5_elixir-1.8.1_deps-dev.plt
Looking up modules in dialyxir_erlang-21.2.5_elixir-1.8.1.plt
Finding applications for dialyxir_erlang-21.2.5_elixir-1.8.1.plt
Finding modules for dialyxir_erlang-21.2.5_elixir-1.8.1.plt
Checking 418 modules in dialyxir_erlang-21.2.5_elixir-1.8.1.plt
Finding applications for dialyxir_erlang-21.2.5_elixir-1.8.1_deps-dev.plt
Finding modules for dialyxir_erlang-21.2.5_elixir-1.8.1_deps-dev.plt
Copying dialyxir_erlang-21.2.5_elixir-1.8.1.plt to dialyxir_erlang-21.2.5_elixir-1.8.1_deps-dev.plt
Looking up modules in dialyxir_erlang-21.2.5_elixir-1.8.1_deps-dev.plt
Checking 418 modules in dialyxir_erlang-21.2.5_elixir-1.8.1_deps-dev.plt
Adding 48 modules to dialyxir_erlang-21.2.5_elixir-1.8.1_deps-dev.plt
Starting Dialyzer
[
  check_plt: false,
  init_plt: '/Users/me/workspace/logger_file_backend/_build/dev/dialyxir_erlang-21.2.5_elixir-1.8.1_deps-dev.plt',
  files_rec: ['/Users/me/workspace/logger_file_backend/_build/dev/lib/logger_file_backend/ebin'],
  warnings: [:unknown]
]
Total errors: 4, Skipped: 0
done in 0m1.08s
:0:unknown_function
Function Logger.compare_levels/2 does not exist.
________________________________________________________________________________
:0:unknown_function
Function Logger.Formatter.compile/1 does not exist.
________________________________________________________________________________
:0:unknown_function
Function Logger.Formatter.format/5 does not exist.
________________________________________________________________________________
:0:unknown_type
Unknown type: Logger.level/0.
________________________________________________________________________________
done (warnings were emitted)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant