<!-- 
RSS generated by JIRA (4.4#649-r158309) at Thu Jun 20 06:06:54 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-1038/CLJ-1038.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-1038] Docstring for deliver doesn&apos;t match behavior</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-1038</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;p&gt;The docstring for deliver doesn&apos;t match the actual behavior. It says an exception gets thrown on multiple delivers, but that&apos;s no longer the case, as of 1.3 (hat tip to clgv on irc).&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;user=&amp;gt; (doc deliver)
-------------------------
clojure.core/deliver
([promise val])
  Alpha - subject to change.
  Delivers the supplied value to the promise, releasing any pending
  derefs. A subsequent call to deliver on a promise will &lt;span class=&quot;code-keyword&quot;&gt;throw&lt;/span&gt; an exception.
nil&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;(let [p (promise)] 
  (deliver p &lt;span class=&quot;code-quote&quot;&gt;&quot;hi&quot;&lt;/span&gt;) 
  (deliver p &lt;span class=&quot;code-quote&quot;&gt;&quot;bye&quot;&lt;/span&gt;) 
  @p)
;=&amp;gt; &lt;span class=&quot;code-quote&quot;&gt;&quot;hi&quot;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This patch updates the docstring to reflect actual behavior: &quot;will throw an exception.&quot; -&amp;gt; &quot;will have no effect.&quot;&lt;/p&gt;</description>
                <environment></environment>
            <key id="15615">CLJ-1038</key>
            <summary>Docstring for deliver doesn&apos;t match behavior</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                <priority id="4" iconUrl="http://dev.clojure.org/jira/images/icons/priority_minor.gif">Minor</priority>
                    <status id="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="1">Completed</resolution>
                                <assignee username="trptcolin">Colin Jones</assignee>
                                <reporter username="trptcolin">Colin Jones</reporter>
                        <labels>
                        <label>documentation</label>
                    </labels>
                <created>Tue, 7 Aug 2012 16:47:29 -0500</created>
                <updated>Fri, 1 Mar 2013 12:47:10 -0600</updated>
                    <resolved>Fri, 24 Aug 2012 07:41:47 -0500</resolved>
                            <version>Release 1.3</version>
                <version>Release 1.4</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="29107" author="stu" created="Fri, 10 Aug 2012 13:48:57 -0500"  >&lt;p&gt;Both patches are correct. Colin&apos;s patch documents the side effect, my variant also commits to the return values. Take your pick.&lt;/p&gt;</comment>
                    <comment id="29110" author="richhickey" created="Fri, 10 Aug 2012 15:09:35 -0500"  >&lt;p&gt;Don&apos;t doc return&lt;/p&gt;</comment>
                    <comment id="29259" author="stuart.sierra" created="Fri, 24 Aug 2012 07:41:47 -0500"  >&lt;p&gt;&lt;a href=&quot;http://dev.clojure.org/jira/browse/CLJ-1038&quot; title=&quot;Docstring for deliver doesn&amp;#39;t match behavior&quot;&gt;&lt;del&gt;CLJ-1038&lt;/del&gt;&lt;/a&gt; Update docstring for deliver&apos;s actual behavior (patch applied Aug 15, 2012) &lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11413" name="0001-Update-docstring-for-deliver-s-actual-behavior.patch" size="847" author="trptcolin" created="Tue, 7 Aug 2012 16:47:29 -0500" />
                    <attachment id="11419" name="correct-deliver-docstring.patch" size="945" author="stu" created="Fri, 10 Aug 2012 13:48:57 -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>
                                                                                        </customfields>
    </item>
</channel>
</rss>