<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -78,9 +78,10 @@ class ConstTest &lt; Test::Unit::TestCase
       eval &lt;&lt;-EOS
         class ::X
           class G
-            def self.parens(*a); p :subclassed!; Class.new(self); end
+            def self.parens(*a); Class.new(self); end
           end
           class Y
+            # G is not a constant of Y and is not a constnat of any of Y's ancestors
             class Z &lt; G(42)
             end
           end
@@ -92,7 +93,7 @@ class ConstTest &lt; Test::Unit::TestCase
       eval &lt;&lt;-EOS
         class ::X
           class G
-            def self.parens(*a); p :subclassed!; Class.new(self); end
+            def self.parens(*a); Class.new(self); end
           end
           class Z &lt; G(42)
           end
@@ -122,4 +123,34 @@ class ConstTest &lt; Test::Unit::TestCase
       EOS
     end
   end
+
+  def test_default_initialize_args
+    eval &lt;&lt;-EOS
+      class ::X
+        attr_reader :x, :y, :z
+        def initialize(x, y, z)
+          @x, @y, @z = x, y, z
+        end
+        def self.parens(*args)
+          Class.new(self).class_eval do
+            define_method :initialize do
+              super(*args)
+            end
+          
+            self
+          end
+        end
+      end
+
+      class ::Y &lt; X(1, 2, 3)
+      end
+    EOS
+
+    assert_equal 1, Y.new.x
+    assert_equal 2, Y.new.y
+    assert_equal 3, Y.new.z
+  ensure
+    Object.send :remove_const, :X
+    Object.send :remove_const, :Y
+  end
 end</diff>
      <filename>test/const_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e57edcde2665f0060a1e5fad90f14e76d4ab49e0</id>
    </parent>
  </parents>
  <author>
    <name>steve</name>
    <email>coderrr.contact@gmail.com</email>
  </author>
  <url>http://github.com/coderrr/parenthesis_hacks/commit/61f86b0c77997dc12db28390ee706f697549797e</url>
  <id>61f86b0c77997dc12db28390ee706f697549797e</id>
  <committed-date>2008-11-30T08:57:20-08:00</committed-date>
  <authored-date>2008-11-30T08:57:20-08:00</authored-date>
  <message>added test</message>
  <tree>b0858643fddafdfd0d142fbe54f062c23a8e0fd3</tree>
  <committer>
    <name>steve</name>
    <email>coderrr.contact@gmail.com</email>
  </committer>
</commit>
