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

deps command doesn't calculate correctly when require is not the first thing in ns #20

Closed
furkan3ayraktar opened this issue Nov 13, 2018 · 0 comments
Assignees
Labels

Comments

@furkan3ayraktar
Copy link
Collaborator

Describe the bug
deps command does not return correct result when the require statement is not the first statement inside namespace declaration.

To Reproduce
Steps to reproduce the behavior:

  1. Create several components depending on each others interfaces
  2. Include (:gen-class) before (:require ...)
  3. Run lein polylith deps
  4. No dependencies displayed

Expected behavior
deps command should display correct dependencies even if the (:require ...) statement is not the first thing in the namespace declaration

Operating System (please complete the following information):

  • OS: MacOS
  • Version 10.14

Versions (please complete the following information):

  • Leiningen: 2.8.1
  • Java: 1.8.0_181
  • Polylith: 0.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant