Skip to content

Maven seems to compile with wrong version of Clojure #92

Description

@deaddowney

I have a project that uses Korma, which has a function "update" which now clashes with clojure.core/update, introduced in 1.7. This clash results in a compilation error in AOT projects.

There was a fix in Clojure to address this issue which recently was patched into master:
http://dev.clojure.org/jira/browse/CLJ-1604

My issue is that I have a project A which depends on a project B. Project A is compiled against the latest clojure with the fix. Project B is compiled against an earlier clojure without the fix. When I try to compile A, I get the compilation error, even if I depend on the new version of Clojure directly in A. If I remove my dependency on B, the compilation error goes away.

I've put an example project on Github:
https://github.com/deaddowney/UpdateProblem

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions