<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -111,6 +111,7 @@ module Red
           arguments       = args_array.join(&quot;,&quot;)
           scope           = scope_sexp.red!(:force_return =&gt; function != 'initialize')
           contents        = [(splatten_args || splat_block || block_arg), args_checker, defaults, scope].compact.join(&quot;;&quot;)
+
           if options[:as_class_eval]
             string = &quot;_.m$%s=function(%s){%s;}&quot;
           else</diff>
      <filename>lib/red/nodes/definition_nodes.rb</filename>
    </modified>
    <modified>
      <diff>@@ -28,9 +28,11 @@ module Red
         # as_argument: duplicates :force_return and adds &quot;function() {
         #   &lt;multiline block&gt;; }()&quot; wrapper to the entire block.
         options = expression_sexps.pop
+
         if options[:as_argument] || options[:as_assignment] || options.delete(:force_return) &amp;&amp; expression_sexps.last.is_a?(::Array) &amp;&amp; !expression_sexps.last.is_sexp?(:rescue, :ensure, :begin) &amp;&amp; (expression_sexps.last.first == :iter ? true : !expression_sexps.last.flatten.include?(:return))
           returner = &quot;return %s&quot; % [expression_sexps.pop.red!(:as_argument =&gt; true)]
         end
+        
         string = options[:as_argument] || options[:as_assignment] ? &quot;function(){%s;}.m$(this)()&quot; : &quot;%s&quot;
         lines = (expression_sexps.map {|line| line.red!(options)} + [returner]).compact.reject {|x| x == '' }.join(&quot;;#{options[:as_class_eval] ? &quot;\n  &quot; : ''}&quot;)
         self &lt;&lt; string % [lines]</diff>
      <filename>lib/red/nodes/literal_nodes.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>71c751ac268e30322029bc40fd3b407544fe6b9d</id>
    </parent>
    <parent>
      <id>d5f007f043ce28a6d054915333e26af2efd8d5b2</id>
    </parent>
  </parents>
  <author>
    <name>Julius Eckert</name>
    <email>eckert.julius@gmail.com</email>
  </author>
  <url>http://github.com/julius/red/commit/ab50ada35f72b7d7f69f8d7ef1560c327bd68985</url>
  <id>ab50ada35f72b7d7f69f8d7ef1560c327bd68985</id>
  <committed-date>2009-09-11T09:43:57-07:00</committed-date>
  <authored-date>2009-09-11T09:43:57-07:00</authored-date>
  <message>Merge branch 'master' of ssh://git@cb.nyc-life.com//var/git/red</message>
  <tree>90686d214e4691acb463dda702915a9b6a8896c2</tree>
  <committer>
    <name>Julius Eckert</name>
    <email>eckert.julius@gmail.com</email>
  </committer>
</commit>
