<< Back to previous view

[TCLI-7] summarize throws when called with an empty sequence of options Created: 17/Dec/13  Updated: 28/Jun/16  Resolved: 02/Jan/14

Status: Closed
Project: tools.cli
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: Hugo Duncan Assignee: Sung Pae
Resolution: Completed Votes: 0
Labels: None


When calling opt-parse with an empty sequence of options, summarize throws an exception.

actual: clojure.lang.ArityException: Wrong number of args (1) passed to: core$map
 at clojure.lang.AFn.throwArity (AFn.java:437)
    clojure.lang.RestFn.invoke (RestFn.java:412)
    clojure.lang.AFn.applyToHelper (AFn.java:161)
    clojure.lang.RestFn.applyTo (RestFn.java:132)
    clojure.core$apply.invoke (core.clj:619)
    clojure.tools.cli$summarize.invoke (cli.clj:375)


Comment by Sung Pae [ 02/Jan/14 1:32 AM ]

Thank you, patch applied!

I am sorry for the delay; I mistakenly thought I would receive email notifications on new issues so have not been polling JIRA.

I hope to ameliorate this soon.

Generated at Mon Jan 22 18:44:06 CST 2018 using JIRA 4.4#649-r158309.