-
Notifications
You must be signed in to change notification settings - Fork 27
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
trying eqwalizer on elixir projects #17
Comments
We were trying to make it work using the following project.json :
Elixir.String.t() type is declared in the above-mentioned folder. With these settings, it still was not able to find the declaration of this type. Is it possible that to find the declaration eqwalizer also needs the erlang source code present in the src directory, or do you have any other ideas on what's going on wrong? |
Contributions are welcome. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We wanted to try eqwalizer on our elixir projects. I know it would be a lot better to implement a parser for Elixir projects, but as a first step we decompiled the beam files to erlang sources, and
we were running eqwalizer on those sources.
We have found some problems:
-file
attribute:When this attribute is there eqwalizer simply ignores all problems. If I manually delete this line, it works.
this last function clause will cause this problem:
Elixir.String type is declared in
$ELIXIR_DIR//lib/elixir/lib/string.ex
. Similarly, I want to add all files where elixir types are declared. How can I add those using project.json?I have one more question...
Let's say I have my_app application, which uses my_lib as a dependency. In my_app.erl I have the following:
I've tried it with this project.json:
elp is still complaining about being not able to find the include file:
Do you have an idea what should I put into my project.json ?
The text was updated successfully, but these errors were encountered: