<!-- 
RSS generated by JIRA (4.4#649-r158309) at Sat May 25 07:19:40 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-142/CLJS-142.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-142] ClojureScript reader throws TypeError when map keys start with colon then number</title>
                <link>http://dev.clojure.org/jira/browse/CLJS-142</link>
                <project id="10040" key="CLJS">ClojureScript</project>
                        <description>&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;ClojureScript:cljs.user&amp;gt; (cljs.reader/read-string &lt;span class=&quot;code-quote&quot;&gt;&quot;{:9k &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;}&quot;&lt;/span&gt;)
&lt;span class=&quot;code-quote&quot;&gt;&quot;Error evaluating:&quot;&lt;/span&gt; (cljs.reader/read-string &lt;span class=&quot;code-quote&quot;&gt;&quot;{:9k &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;}&quot;&lt;/span&gt;) :as &lt;span class=&quot;code-quote&quot;&gt;&quot;cljs.reader.read_string.call(&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;,\&quot;&lt;/span&gt;{:9k &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;}\&lt;span class=&quot;code-quote&quot;&gt;&quot;);\n&quot;&lt;/span&gt;
#&amp;lt;TypeError: Cannot read property &apos;length&apos; of &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;&amp;gt;
TypeError: Cannot read property &apos;length&apos; of &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;
    at http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:8080/javascripts/out/cljs/reader.js:530:38
&lt;/span&gt;    at http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:8080/javascripts/out/cljs/reader.js:534:2
&lt;/span&gt;    at read_keyword (http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:8080/javascripts/out/cljs/reader.js:547:2)
&lt;/span&gt;    at read_delimited_list (http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:8080/javascripts/out/cljs/reader.js:373:32)
&lt;/span&gt;    at read_map (http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:8080/javascripts/out/cljs/reader.js:418:47)
&lt;/span&gt;    at read (http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:8080/javascripts/out/cljs/reader.js:675:115)
&lt;/span&gt;    at read_string (http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:8080/javascripts/out/cljs/reader.js:707:25)
&lt;/span&gt;    at eval at &amp;lt;anonymous&amp;gt; (http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:8080/javascripts/out/clojure/browser/repl.js:21:158)
&lt;/span&gt;    at eval at &amp;lt;anonymous&amp;gt; (http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:8080/javascripts/out/clojure/browser/repl.js:21:158)
&lt;/span&gt;    at http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:8080/javascripts/out/clojure/browser/repl.js:21:153
&lt;/span&gt;nil&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="15158">CLJS-142</key>
            <summary>ClojureScript reader throws TypeError when map keys start with colon then number</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="5" iconUrl="http://dev.clojure.org/jira/images/icons/status_resolved.gif">Resolved</status>
                    <resolution id="2">Declined</resolution>
                                <assignee username="-1">Unassigned</assignee>
                                <reporter username="pandeiro">Murphy McMahon</reporter>
                        <labels>
                    </labels>
                <created>Fri, 3 Feb 2012 14:11:17 -0600</created>
                <updated>Fri, 31 Aug 2012 09:43:11 -0500</updated>
                    <resolved>Fri, 31 Aug 2012 09:43:11 -0500</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="27644" author="pandeiro" created="Fri, 3 Feb 2012 14:21:00 -0600"  >&lt;p&gt;Probably related: the read-string function throws an &quot;Uncaught Invalid number format&quot; for any non-numeric value beginning with a number.&lt;/p&gt;</comment>
                    <comment id="27647" author="dnolen" created="Fri, 3 Feb 2012 19:03:15 -0600"  >&lt;p&gt;After looking over this &lt;a href=&quot;http://clojure.org/reader&quot;&gt;http://clojure.org/reader&lt;/a&gt; I&apos;m not sure that the current behavior is a problem. The fact that keywords that start with numbers happens to work may just be an oversight.&lt;/p&gt;</comment>
                    <comment id="27679" author="pandeiro" created="Mon, 6 Feb 2012 12:03:21 -0600"  >&lt;p&gt;OK, I see. I had wanted to use UUIDs as map keys for quick lookups. I&apos;ll rethink my approach.&lt;/p&gt;</comment>
                    <comment id="27682" author="dnolen" created="Mon, 6 Feb 2012 17:09:50 -0600"  >&lt;p&gt;You can just use regular Strings, Keywords are an illusion anyhow in ClojureScript.&lt;/p&gt;</comment>
                    <comment id="28620" author="netguy204" created="Sun, 27 May 2012 23:40:45 -0500"  >&lt;p&gt;@David&lt;/p&gt;

&lt;p&gt;Digging around LispReader.java in clojure, I found the symbol pattern:&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;&lt;span class=&quot;code-quote&quot;&gt;&quot;[:]?([\\D&amp;amp;&amp;amp;[^/]].*/)?([\\D&amp;amp;&amp;amp;[^/]][^/]*)&quot;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Best I can tell, that transcribes directly to the regex the clojurescript reader is using. I&apos;m a bit surprised that clojure allows keywords that start with a number.&lt;/p&gt;

&lt;p&gt;I created a Clojure issue mentioning this: &lt;a href=&quot;http://dev.clojure.org/jira/browse/CLJ-1003&quot; title=&quot;:100 is a valid Clojure keyword. Is that intentional?&quot;&gt;CLJ-1003&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="29329" author="dnolen" created="Fri, 31 Aug 2012 09:43:11 -0500"  >&lt;p&gt;There is no evidence that this allowed.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>