<!-- 
RSS generated by JIRA (4.4#649-r158309) at Thu Jun 20 04:37: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-773/CLJ-773.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-773] macros that are expanded away still have their vars referenced in the emitted byte code</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-773</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;p&gt;if you have a macro like:&lt;/p&gt;

&lt;p&gt;(defmacro f &lt;span class=&quot;error&quot;&gt;&amp;#91;a b&amp;#93;&lt;/span&gt; a)&lt;/p&gt;

&lt;p&gt;and compile a function like:&lt;/p&gt;

&lt;p&gt;(fn &lt;span class=&quot;error&quot;&gt;&amp;#91;x&amp;#93;&lt;/span&gt; (f x (/ 1 0)))&lt;/p&gt;

&lt;p&gt;the macro is expand before compilation into:&lt;/p&gt;

&lt;p&gt;(fn &lt;span class=&quot;error&quot;&gt;&amp;#91;x&amp;#93;&lt;/span&gt; x) ;; no reference to f&lt;/p&gt;

&lt;p&gt;but the emitted byte code still holds the var for the macro &apos;f&apos; in a static field.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14397">CLJ-773</key>
            <summary>macros that are expanded away still have their vars referenced in the emitted byte code</summary>
                <type id="4" iconUrl="http://dev.clojure.org/jira/images/icons/improvement.gif">Enhancement</type>
                                <priority id="5" iconUrl="http://dev.clojure.org/jira/images/icons/priority_trivial.gif">Trivial</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="hiredman">Kevin Downey</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Apr 2011 20:00:21 -0500</created>
                <updated>Fri, 9 Dec 2011 10:01:00 -0600</updated>
                    <resolved>Fri, 9 Dec 2011 10:01:00 -0600</resolved>
                                            <fixVersion>Release 1.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="26357" author="hiredman" created="Thu, 7 Apr 2011 20:21:26 -0500"  >&lt;p&gt;patch to not register vars during macro expansion&lt;/p&gt;</comment>
                    <comment id="27370" author="hiredman" created="Tue, 29 Nov 2011 19:50:06 -0600"  >&lt;p&gt;patch still applies cleanly and all tests pass&lt;/p&gt;</comment>
                    <comment id="27403" author="stu" created="Fri, 2 Dec 2011 13:38:06 -0600"  >&lt;p&gt;tests pass and approach seems sound&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10181" name="clj-773.diff" size="1728" author="hiredman" created="Thu, 7 Apr 2011 20:21:26 -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>