[macruby-changes] [2737] MacRuby/trunk/test_vm/method.rb
source_changes at macosforge.org
source_changes at macosforge.org
Mon Oct 5 19:44:29 PDT 2009
Revision: 2737
http://trac.macosforge.org/projects/ruby/changeset/2737
Author: lsansonetti at apple.com
Date: 2009-10-05 19:44:29 -0700 (Mon, 05 Oct 2009)
Log Message:
-----------
added failing test
Modified Paths:
--------------
MacRuby/trunk/test_vm/method.rb
Modified: MacRuby/trunk/test_vm/method.rb
===================================================================
--- MacRuby/trunk/test_vm/method.rb 2009-10-06 02:39:18 UTC (rev 2736)
+++ MacRuby/trunk/test_vm/method.rb 2009-10-06 02:44:29 UTC (rev 2737)
@@ -64,3 +64,16 @@
def f(args) p args[:in] end
f(in: 42)
}
+
+assert ':ok', %{
+ class HasNoInit; end
+ class C < HasNoInit; end
+ class D < C
+ def init
+ super
+ self
+ end
+ end
+ D.new
+ p :ok
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091005/99bd4ae2/attachment.html>
More information about the macruby-changes
mailing list