<!-- 
RSS generated by JIRA (4.4#649-r158309) at Thu May 23 19:21:30 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-923/CLJ-923.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-923] Reading ratios prefixed by + is not working</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-923</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;p&gt;In general Clojure&apos;s number types can be read prefixed with either a +&lt;br/&gt;
or - and this seems to work correctly for reading integers and floats.&lt;br/&gt;
In the case of ratios however things break down when ratios are&lt;br/&gt;
prefixed with a +.&lt;/p&gt;

&lt;p&gt;The ratio pattern in LispReader.java does match on ratios starting&lt;br/&gt;
with both + and - but matchNumber fails on ratios prefixed with +&lt;br/&gt;
because it ends up calling &quot;new BigInteger(m.group(1))&quot; and it turns&lt;br/&gt;
out the constructor for BigInteger has no problems with negative&lt;br/&gt;
numbers but it doesn&apos;t like numbers prefixed by a +.&lt;/p&gt;</description>
                <environment></environment>
            <key id="15159">CLJ-923</key>
            <summary>Reading ratios prefixed by + is not working</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="-1">Unassigned</assignee>
                                <reporter username="cosmin">Cosmin Stejerean</reporter>
                        <labels>
                    </labels>
                <created>Fri, 3 Feb 2012 18:06:54 -0600</created>
                <updated>Sat, 18 Aug 2012 07:12:53 -0500</updated>
                    <resolved>Sat, 18 Aug 2012 07:12:52 -0500</resolved>
                            <version>Release 1.2</version>
                <version>Release 1.3</version>
                <version>Release 1.4</version>
                                <fixVersion>Release 1.5</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="27645" author="cosmin" created="Fri, 3 Feb 2012 18:26:09 -0600"  >&lt;p&gt;added patch with fix and tests&lt;/p&gt;</comment>
                    <comment id="27854" author="hiredman" created="Fri, 24 Feb 2012 16:02:26 -0600"  >&lt;p&gt;changes to the reader tests on master cause 0001-added-tests-for-reading-ratios-and-fixed-reading-of-.patch to no longer apply cleanly&lt;/p&gt;</comment>
                    <comment id="27856" author="jafingerhut" created="Fri, 24 Feb 2012 16:21:55 -0600"  >&lt;p&gt;clj-923-reading-ratios-prefixed-by-plus-patch.txt applies cleanly to latest as of Feb 24, 2012 (2:20 PM PST &lt;img class=&quot;emoticon&quot; src=&quot;http://dev.clojure.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                    <comment id="28000" author="jafingerhut" created="Fri, 23 Mar 2012 19:55:54 -0500"  >&lt;p&gt;clj-923-reading-ratios-prefixed-by-plus-patch2.txt still semantically same as Cosmin&apos;s original patch, except it applies, builds, and tests cleanly on latest master as of Mar 23, 2012.  Context lines around patch must have changed recently.&lt;/p&gt;</comment>
                    <comment id="28002" author="cosmin" created="Fri, 23 Mar 2012 20:07:23 -0500"  >&lt;p&gt;Thanks for updating the patch. I&apos;ve removed the original to make it clear which one we need.&lt;/p&gt;</comment>
                    <comment id="29157" author="aaron" created="Tue, 14 Aug 2012 21:33:29 -0500"  >&lt;p&gt;Patch applies cleanly against 4004d267e124f12b65b0d7fb6522f32a75e3c4fb. Submitter is a confirmed CA signer.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11005" name="clj-923-reading-ratios-prefixed-by-plus-patch2.txt" size="1897" author="jafingerhut" created="Fri, 23 Mar 2012 19:55:54 -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="10002">Code and Test</customfieldvalue>

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