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

Detect when . is part of the :source-paths #428

Closed
vemv opened this issue Jan 21, 2022 · 0 comments
Closed

Detect when . is part of the :source-paths #428

vemv opened this issue Jan 21, 2022 · 0 comments

Comments

@vemv
Copy link
Collaborator

vemv commented Jan 21, 2022

Context

I received a report of a pretty extreme edge case: a bad cljalias combination would result in a classpath with both . and src in it.

It is contradictory becase one is a subset of the other, so clojure namespaces won't have a well-defined place where they should reside.

This results in namespace-filename-mismatches, which are confusing for end users.

Task

If . and a dir that is a subset of . are both part of the classpath, fail fast and informatively.

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

1 participant