Mercurial > hg > truffle
view graal/com.oracle.truffle.ruby.test/specs/tags/language/metaclass_tags.txt @ 13896:cf1f97283122
Merge.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 06 Feb 2014 18:47:57 +0100 |
parents | 0fbee3eb71f0 |
children |
line wrap: on
line source
fails:self in a metaclass body (class << obj) is TrueClass for true fails:self in a metaclass body (class << obj) is FalseClass for false fails:self in a metaclass body (class << obj) is NilClass for nil fails:self in a metaclass body (class << obj) raises a TypeError for numbers fails:self in a metaclass body (class << obj) raises a TypeError for symbols fails:self in a metaclass body (class << obj) is a singleton Class instance fails:A constant on a metaclass can be accessed via const_get fails:A constant on a metaclass cannot be accessed via object::CONST fails:A constant on a metaclass raises a NameError for anonymous_module::CONST fails:A constant on a metaclass appears in the metaclass constant list fails:A constant on a metaclass does not appear in the object's class constant list fails:A constant on a metaclass is not preserved when the object is duped fails:A constant on a metaclass is preserved when the object is cloned fails:calling methods on the metaclass calls a method on the instance's metaclass fails:calling methods on the metaclass calls a method in deeper chains of metaclasses fails:calling methods on the metaclass calls a method defined on the metaclass of the metaclass