[macruby-changes] [1172] MacRuby/branches/experimental

source_changes at macosforge.org source_changes at macosforge.org
Thu Mar 26 15:54:17 PDT 2009


Revision: 1172
          http://trac.macosforge.org/projects/ruby/changeset/1172
Author:   eloy.de.enige at gmail.com
Date:     2009-03-26 15:54:17 -0700 (Thu, 26 Mar 2009)
Log Message:
-----------
Tagged critical and failing examples of the class spec and added it to the green list.

Modified Paths:
--------------
    MacRuby/branches/experimental/rakelib/spec.rake
    MacRuby/branches/experimental/spec/frozen/tags/macruby/language/class_tags.txt

Modified: MacRuby/branches/experimental/rakelib/spec.rake
===================================================================
--- MacRuby/branches/experimental/rakelib/spec.rake	2009-03-26 22:54:05 UTC (rev 1171)
+++ MacRuby/branches/experimental/rakelib/spec.rake	2009-03-26 22:54:17 UTC (rev 1172)
@@ -5,6 +5,7 @@
     block
     break
     case
+    class
     class_variable
     defined
     else

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/language/class_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/language/class_tags.txt	2009-03-26 22:54:05 UTC (rev 1171)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/language/class_tags.txt	2009-03-26 22:54:17 UTC (rev 1172)
@@ -1,4 +1,10 @@
 critical:A class definition raises TypeError if the constant qualifying the class is nil
+critical:A class definition raises TypeError if any constant qualifying the class is not a Module
 critical:A class definition allows using self as the superclass if self is a class
 critical:A Class Definitions extending an object raises a TypeError when trying to extend numbers
 critical:Reopening a class raises a TypeError when superclasses mismatch
+fails:A class definition raises TypeError if constant given as class name exists and is not a Module
+fails:A class definition allows the declaration of class variables in the body
+fails:A class definition allows the declaration of class variables in a class method
+fails:A class definition allows the declaration of class variables in an instance method
+fails:A class definition returns the value of the last statement in the body
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090326/3af6be84/attachment-0001.html>


More information about the macruby-changes mailing list