<!-- 
RSS generated by JIRA (4.4#649-r158309) at Wed Jun 19 22:46:49 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-940/CLJ-940.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-940] Passing a non-sequence to refer :only results in uninformative exception</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-940</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;p&gt;Compiling the following code results in a &lt;tt&gt;Don&apos;t know how to create ISeq from: clojure.lang.Symbol&lt;/tt&gt; exception&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;code&lt;/tt&gt;&lt;br/&gt;
(ns clj14.myns&lt;br/&gt;
  (:use&lt;br/&gt;
   &lt;span class=&quot;error&quot;&gt;&amp;#91;clojure.core :only seq&amp;#93;&lt;/span&gt;))&lt;br/&gt;
&lt;tt&gt;code&lt;/tt&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="15246">CLJ-940</key>
            <summary>Passing a non-sequence to refer :only results in uninformative exception</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                <priority id="3" iconUrl="http://dev.clojure.org/jira/images/icons/priority_major.gif">Major</priority>
                    <status id="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="1">Completed</resolution>
                                <assignee username="stuart.sierra">Stuart Sierra</assignee>
                                <reporter username="hugoduncan">Hugo Duncan</reporter>
                        <labels>
                    </labels>
                <created>Fri, 24 Feb 2012 12:20:40 -0600</created>
                <updated>Sat, 1 Sep 2012 08:37:48 -0500</updated>
                    <resolved>Sat, 1 Sep 2012 08:37:48 -0500</resolved>
                            <version>Release 1.3</version>
                <version>Release 1.4</version>
                                <fixVersion>Release 1.5</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="27922" author="jafingerhut" created="Fri, 9 Mar 2012 09:22:18 -0600"  >&lt;p&gt;Hugo, your patch doesn&apos;t apply cleanly to latest master due to some changed lines of context around it that are from before Nov 2011, which confuses me given that your patch was created recently.  I could mechanically update it, but if you could take a look and create an updated patch yourself it would be safer.&lt;/p&gt;</comment>
                    <comment id="28288" author="jafingerhut" created="Thu, 26 Apr 2012 19:36:12 -0500"  >&lt;p&gt;Patch clj-940-add-exception-for-non-sequence-in-refer-only-patch.txt dated Apr 26 2012 is same as Hugo Duncan&apos;s, except it applies cleanly to latest master as of today.&lt;/p&gt;</comment>
                    <comment id="29210" author="stuart.sierra" created="Fri, 17 Aug 2012 09:14:49 -0500"  >&lt;p&gt;Previous patch does not accurately reflect new &lt;tt&gt;:refer&lt;/tt&gt; syntax in &lt;tt&gt;ns&lt;/tt&gt;:&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;(:require [... :refer ...])&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I offer a new patch, 0003-&lt;a href=&quot;http://dev.clojure.org/jira/browse/CLJ-940&quot; title=&quot;Passing a non-sequence to refer :only results in uninformative exception&quot;&gt;&lt;del&gt;CLJ-940&lt;/del&gt;&lt;/a&gt;-check-for-sequential.patch, as an alternative.&lt;/p&gt;

&lt;p&gt;This patch also checks for the more specific clojure.lang.Sequential instead of IPersistentCollection (which includes sets and maps).&lt;/p&gt;

&lt;p&gt;If I had my druthers, I&apos;d check for IPersistentList, but I can&apos;t face the screaming that would result.&lt;/p&gt;

&lt;p&gt;Neither patch provides file/line information in the error, but there isn&apos;t much affordance for that in core.clj right now.&lt;/p&gt;</comment>
                    <comment id="29239" author="aaron" created="Tue, 21 Aug 2012 10:57:07 -0500"  >&lt;p&gt;Applies cleanly against d4170e65d001c8c2976f1bd7159484056b9a9d6d. This looks good to me. We should at some point talk more about the implications of checking IPersistenList, but I think there is enough value here to push it forward.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10959" name="0001-add-exception-for-non-sequence-in-refer-only.diff" size="939" author="hugoduncan" created="Fri, 24 Feb 2012 12:20:40 -0600" />
                    <attachment id="11440" name="0003-CLJ-940-check-for-sequential.patch" size="1064" author="stuart.sierra" created="Fri, 17 Aug 2012 09:14:49 -0500" />
                    <attachment id="11114" name="clj-940-add-exception-for-non-sequence-in-refer-only-patch.txt" size="937" author="jafingerhut" created="Thu, 26 Apr 2012 19:36:12 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Approval</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10007">Ok</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Patch</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10001">Code</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10003" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                <customfieldname>Waiting On</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>richhickey</customfieldvalue>
                </customfieldvalues>
            </customfield>
                            </customfields>
    </item>
</channel>
</rss>