<!-- 
RSS generated by JIRA (4.4#649-r158309) at Tue May 21 05:28:23 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://dev.clojure.org/jira/si/jira.issueviews:issue-xml/CLJ-1067/CLJ-1067.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Clojure JIRA</title>
    <link>http://dev.clojure.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>4.4</version>
        <build-number>649</build-number>
        <build-date>25-07-2011</build-date>
    </build-info>

<item>
            <title>[CLJ-1067] Fix error message inconsistencies in Symbol and Keyword</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-1067</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;p&gt;1. There are some ugly and unnecessary &amp;#8211; but harmless &amp;#8211; inconsistencies between Symbol and Keyword:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;(.run &apos;foo);    =&amp;gt; ArityException Wrong number of args (0) passed to: Symbol  clojure.lang.AFn.throwArity (AFn.java:437)
(.run :foo);    =&amp;gt; UnsupportedOperationException   clojure.lang.Keyword.run (Keyword.java:97)
(.call &apos;foo);   =&amp;gt; ArityException Wrong number of args (0) passed to: Symbol  clojure.lang.AFn.throwArity (AFn.java:437)
(.call :foo);   =&amp;gt; IllegalArgumentException Wrong number of args passed to keyword: :foo  clojure.lang.Keyword.throwArity (Keyword.java:88)
(.invoke &apos;foo); =&amp;gt; ArityException Wrong number of args (0) passed to: Symbol  clojure.lang.AFn.throwArity (AFn.java:437)
(.invoke :foo); =&amp;gt; IllegalArgumentException Wrong number of args passed to keyword: :foo  clojure.lang.Keyword.throwArity (Keyword.java:88)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;2. Keyword.java contains a lot of code that has already been factored out to AFn.java.&lt;/p&gt;

&lt;p&gt;I propose that Keyword is modified to extend AFn to resolve the above issues.&lt;/p&gt;</description>
                <environment></environment>
            <key id="15694">CLJ-1067</key>
            <summary>Fix error message inconsistencies in Symbol and Keyword</summary>
                <type id="4" iconUrl="http://dev.clojure.org/jira/images/icons/improvement.gif">Enhancement</type>
                                <priority id="5" iconUrl="http://dev.clojure.org/jira/images/icons/priority_trivial.gif">Trivial</priority>
                    <status id="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="2">Declined</resolution>
                                <assignee username="-1">Unassigned</assignee>
                                <reporter username="qerub">Christoffer Sawicki</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 Sep 2012 11:38:28 -0500</created>
                <updated>Fri, 1 Mar 2013 12:47:08 -0600</updated>
                    <resolved>Mon, 17 Sep 2012 07:03:26 -0500</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="29458" author="stu" created="Mon, 17 Sep 2012 07:03:18 -0500"  >&lt;p&gt;At first glance, it appears that there could be some code sharing here. But the attached patch changes the semantics of run, which is a non-starter.&lt;/p&gt;</comment>
                    <comment id="29462" author="qerub" created="Mon, 17 Sep 2012 07:19:38 -0500"  >&lt;p&gt;The only thing that changes is the type of thrown exception.&lt;/p&gt;

&lt;p&gt;Current call tree:&lt;/p&gt;

&lt;p&gt;Keyword.run() -&amp;gt; throw new UnsupportedOperationException()&lt;/p&gt;

&lt;p&gt;Call tree with patch applied:&lt;/p&gt;

&lt;p&gt;Keyword.run() -&amp;gt; AFn.run() -&amp;gt; AFn.invoke() -&amp;gt; AFn.throwArity(0) -&amp;gt; throw new ArityException(...)&lt;/p&gt;

&lt;p&gt;(I.e. Keyword.run() always throws an exception, with and without my patch.)&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11496" name="Make-Keyword-extend-AFn-just-like-Symbol.patch" size="6322" author="qerub" created="Fri, 14 Sep 2012 11:40:42 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Approval</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10008">Not Approved</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>