`lein new`'s semantics has changed since 2.0.0 #1103

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

Comments

3 participants
@hypirion
Collaborator

hypirion commented Mar 26, 2013

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

This comment has been minimized.

Show comment Hide comment
@hugoduncan

hugoduncan Mar 27, 2013

Contributor
@davidsantiago

This comment has been minimized.

Show comment Hide comment
@davidsantiago

davidsantiago Mar 27, 2013

Collaborator

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

Collaborator

davidsantiago commented Mar 27, 2013

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

@hypirion hypirion closed this in 0f9b8bf Mar 27, 2013

@hypirion

This comment has been minimized.

Show comment Hide comment
@hypirion

hypirion Mar 27, 2013

Collaborator

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

Collaborator

hypirion commented Mar 27, 2013

@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