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

Not using Dialyzer Incrementally #105

Closed
lswith opened this issue Oct 5, 2017 · 6 comments
Closed

Not using Dialyzer Incrementally #105

lswith opened this issue Oct 5, 2017 · 6 comments

Comments

@lswith
Copy link

lswith commented Oct 5, 2017

Dialyzer can be used incrementally but it seems that Dialyxir isn't using it as such. I would like to give Dialyxir the existing plt files had build any others incrementally.

@jeremyjh
Copy link
Owner

jeremyjh commented Oct 6, 2017

Sorry, can you be a bit more specific? What exactly do you want it to do differently? It does use a shared base PLT and incrementally add other modules as dependencies are added to the project.

@jeremyjh
Copy link
Owner

jeremyjh commented Dec 1, 2017

This can be re-opened with more specific feedback. Dialyzer does not support incremental analysis in its public API (ElixirLS uses internal functions), and using multiple PLT files at runtime may be unsound as the separate PLTs do not share their types with each other. I'm not sure if you are talking about either of those possible features.

@jeremyjh jeremyjh closed this as completed Dec 1, 2017
@crova
Copy link

crova commented Aug 11, 2022

Hey @jeremyjh , how is it going?

First of all, thank you very much for this package.

In one of the projects I'm working, we would be interested in using the new --incremental flag that got introduced on Dialyzer.

I'm not sure what would be needed to get this working here but I would be willing to give any help I can towards that goal.

Do you reckon is something we can look forward to get implemented?

Cheers.

@jeremyjh
Copy link
Owner

A PR would be welcome once it is in an OTP release.

@crova
Copy link

crova commented Aug 11, 2022

Thanks for the feedback.
I'll see if I can get acquainted with this situation to submit the PR when the time comes.
Any pointers on what to look for is much appreciated.

Cheers.

@codeadict
Copy link

I'm interested on this too, can submit a PR if i get some time soon. If anyone else is interested, this is how they added it on Rebar3 erlang/rebar3#2736

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

4 participants