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

[unused_hrls] Figure out the actual path of an include file, don't guess #31

Open
elbrujohalcon opened this issue Dec 15, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@elbrujohalcon
Copy link
Collaborator

Currently, unused_hrls might retrun some false negatives.
For instance, it may think that lib/app1/include/header.hrl is used if lib/app2/src/module.erl contains -include("header.hrl"). when, in reality, module.erl is including lib/app2/include/header.erl or lib/app2/src/header.hrl.
To prevent this situation we need to properly retrieve the absolute path of "header.hrl" in the same way that the Erlang pre-processor retrieves it.

@elbrujohalcon elbrujohalcon added the enhancement New feature or request label Dec 15, 2020
@elbrujohalcon elbrujohalcon added this to the 0.2.0 milestone Dec 15, 2020
@elbrujohalcon elbrujohalcon modified the milestones: 0.2.0, 1.0.0 Jan 7, 2021
@elbrujohalcon elbrujohalcon modified the milestones: 1.0.0, Eventually 🙄 May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant