<!-- 
RSS generated by JIRA (4.4#649-r158309) at Sun May 19 23:35:03 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/CLJS-426/CLJS-426.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>[CLJS-426] subvec function not behaving consitently with invalid subranges</title>
                <link>http://dev.clojure.org/jira/browse/CLJS-426</link>
                <project id="10040" key="CLJS">ClojureScript</project>
                        <description>&lt;p&gt;When using the subvec function with a as a parameter vector and a range that is not in the original vector, the function returns a value: &lt;/p&gt;

&lt;p&gt;(subvec &lt;span class=&quot;error&quot;&gt;&amp;#91;1 2 3&amp;#93;&lt;/span&gt; 0 4) =&amp;gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;1 2 3 nil&amp;#93;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;However, when using with seqs, it works as it supposed to: &lt;/p&gt;

&lt;p&gt;(subvec (range 3) 0 4) =&amp;gt; ERROR: Index out of bounds &lt;/p&gt;

&lt;p&gt;This is because the validation of ranges is not happening at build time of the subvec type, this bug contains a patch that adds a new private `build-subvec` function into cljs.core. &lt;/p&gt;</description>
                <environment>Ubuntu precise 64 bits, Mac OS X Lion</environment>
            <key id="15846">CLJS-426</key>
            <summary>subvec function not behaving consitently with invalid subranges</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="5" iconUrl="http://dev.clojure.org/jira/images/icons/status_resolved.gif">Resolved</status>
                    <resolution id="1">Completed</resolution>
                                <assignee username="-1">Unassigned</assignee>
                                <reporter username="roman">Roman Gonzalez</reporter>
                        <labels>
                        <label>bug</label>
                        <label>patch</label>
                    </labels>
                <created>Thu, 22 Nov 2012 17:00:13 -0600</created>
                <updated>Fri, 23 Nov 2012 15:25:10 -0600</updated>
                    <resolved>Fri, 23 Nov 2012 15:25:10 -0600</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="30007" author="roman" created="Thu, 22 Nov 2012 17:05:56 -0600"  >&lt;p&gt;Patch for bug&lt;/p&gt;</comment>
                    <comment id="30017" author="dnolen" created="Fri, 23 Nov 2012 14:51:38 -0600"  >&lt;p&gt;This mostly looks good but there is a typo in the patch:&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;(build-subvec. meta (-assoc v v-pos val) ...&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    <comment id="30018" author="roman" created="Fri, 23 Nov 2012 15:09:20 -0600"  >&lt;p&gt;Revised patch, removing small typo&lt;/p&gt;</comment>
                    <comment id="30019" author="roman" created="Fri, 23 Nov 2012 15:18:16 -0600"  >&lt;p&gt;Removing useless ^:mutable meta on function parameter&lt;/p&gt;</comment>
                    <comment id="30020" author="dnolen" created="Fri, 23 Nov 2012 15:25:10 -0600"  >&lt;p&gt;fixed, &lt;a href=&quot;http://github.com/clojure/clojurescript/commit/ee25599abb214074cbeefe37b399038d70c6ab89&quot;&gt;http://github.com/clojure/clojurescript/commit/ee25599abb214074cbeefe37b399038d70c6ab89&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11698" name="cljs_subvec.patch" size="3840" author="roman" created="Thu, 22 Nov 2012 17:05:56 -0600" />
                    <attachment id="11705" name="cljs_subvec_revised1.patch" size="3829" author="roman" created="Fri, 23 Nov 2012 15:18:16 -0600" />
                    <attachment id="11704" name="cljs_subvec_revised.patch" size="3839" author="roman" created="Fri, 23 Nov 2012 15:09:20 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <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="10002">Code and Test</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                        </customfields>
    </item>
</channel>
</rss>