Skip to content

Conversation

@divdavem
Copy link
Member

@divdavem divdavem commented Jul 9, 2013

With this pull request, atpackager is able to compare the global variables used in a file with the dependencies declared in $dependencies and it can report differences (useless declared dependencies or undeclared used dependencies), displaying either warnings or errors.

…dencies.

atpackager is now able to compare the global variables used in a file
with the dependencies declared in $dependencies and it can report
differences (useless declared dependencies or undeclared used dependencies),
displaying either warnings or errors.
@divdavem
Copy link
Member Author

divdavem commented Jul 9, 2013

This pull request is not yet ready to be integrated: in order to be really usable, there should be a way to mark that some specific accesses to global variables are normal, even if the corresponding dependencies are not present in the $dependencies section, so that the corresponding errors/warnings are removed. This is especially useful for dependencies loaded with Aria.load.

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

Successfully merging this pull request may close these issues.

1 participant