<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1960,7 +1960,7 @@ class Array
     `if(index.m$class()==c$Range){var start=index.__start__,end=index.__exclusive__?index.__end__-1:index.__end__;index=start&lt;0?start+l:start;length=(end&lt;0?end+l:end)-index+1;if(length&lt;0){length=0};}else{if(index&lt;0){index+=l;};if(length&lt;0){throw('IndexError: negative length')}}`
     `if(index&lt;0){throw('RangeError: out of range');}`
     `while(this.length&lt;index){this.push(nil);}`
-    `if($T(length)){var l=this.length,final=(index+length&gt;l)?l:index+length;this._replace(this.slice(0,index).concat(object===nil?[]:(object.m$class()==c$Array?object:[object])).concat(this.slice(final,l)))}else{this[index]=object}`
+    `if($T(length)){var l=this.length,fnl=(index+length&gt;l)?l:index+length;this._replace(this.slice(0,index).concat(object===nil?[]:(object.m$class()==c$Array?object:[object])).concat(this.slice(fnl,l)))}else{this[index]=object}`
     return `object`
   end
   
@@ -2269,13 +2269,13 @@ class Array
   # 
   # FIX: Incomplete -&gt; doesn't accept ranges or handle loop control keywords
   def fill(object, index = 0, length = nil)
-    `if(!(typeof(object)=='function'||typeof(index)=='function'||typeof(length)=='function')){if(index&lt;0){index+=this.length;};for(var i=index,final=($T(length)?index+length:this.length);i&lt;final;++i){this[i]=object;};return(this);}`
-    `var final=this.length,_block=$u`
+    `if(!(typeof(object)=='function'||typeof(index)=='function'||typeof(length)=='function')){if(index&lt;0){index+=this.length;};for(var i=index,fnl=($T(length)?index+length:this.length);i&lt;fnl;++i){this[i]=object;};return(this);}`
+    `var fnl=this.length,_block=$u`
     `if(typeof(object)=='function'){_block=object;}`
     `if(typeof(index)=='function'){_block=index;index=object;}`
-    `if(typeof(length)=='function'){_block=length;length=index;index=object;if(index&lt;0){index+=this.length;if(index&lt;0){throw('IndexError: out of range')}};final=index+length;}`
+    `if(typeof(length)=='function'){_block=length;length=index;index=object;if(index&lt;0){index+=this.length;if(index&lt;0){throw('IndexError: out of range')}};fnl=index+length;}`
     `if(index&lt;0){index+=this.length;}`
-    `for(var i=index;i&lt;final;++i){this[i]=_block(i);}`
+    `for(var i=index;i&lt;fnl;++i){this[i]=_block(i);}`
     return self
   end
   </diff>
      <filename>lib/source/ruby.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f2597fca5962ef7eff2f26d1d3340b786422d1da</id>
    </parent>
  </parents>
  <author>
    <name>Julius Eckert</name>
    <email>eckert.julius@gmail.com</email>
  </author>
  <url>http://github.com/julius/red/commit/e84ae766081ade94f4b24f834077d0f5971b40bc</url>
  <id>e84ae766081ade94f4b24f834077d0f5971b40bc</id>
  <committed-date>2009-10-27T09:14:38-07:00</committed-date>
  <authored-date>2009-10-27T09:14:38-07:00</authored-date>
  <message>removed the reserved js-word final</message>
  <tree>62c62d1c55975769a1e28e6668088a587029785d</tree>
  <committer>
    <name>Julius Eckert</name>
    <email>eckert.julius@gmail.com</email>
  </committer>
</commit>
