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

lein new's semantics has changed since 2.0.0 #1103

Closed
hypirion opened this issue Mar 26, 2013 · 3 comments
Closed

lein new's semantics has changed since 2.0.0 #1103

hypirion opened this issue Mar 26, 2013 · 3 comments
Labels
Milestone

Comments

@hypirion
Copy link
Collaborator

Calling lein new pallet myops crashes on 2.1.x, but works fine on 2.0.0.

Condensed error message tells the following:

java.lang.IllegalArgumentException: contains? not supported on type: java.lang.Boolean
    at clojure.lang.RT.contains(RT.java:724)
    at clojure.core$contains_QMARK_.invoke(core.clj:1402)
    [...]
    at stencil.core$render_string.invoke(core.clj:87)
    at leiningen.new.templates$renderer$fn__7103.doInvoke(templates.clj:96)
    at clojure.lang.RestFn.invoke(RestFn.java:423)
    at leiningen.new.pallet$pallet.doInvoke(pallet.clj:95)
    [...]

So the bug (if any) resides most likely within the renderer. What we should check out is if this is a bug in lein-new-pallet or within Leiningen itself due to changes in new.

@hugoduncan
Copy link
Contributor

May be caused by clojure/clojure@3acb6ee7 (see also http://dev.clojure.org/jira/browse/CLJS-382)

@davidsantiago
Copy link
Collaborator

This was fixed in stencil 0.3.2. Looks like lein is still using 0.3.1.

@hypirion
Copy link
Collaborator Author

@davidsantiago, thanks for the notice. This indeed solves the issue.

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

3 participants