Commits

Lucian Brănescu-Mihăilă committed 633281c

Rename a few thing, remove wrong comment.

Comments (0)

Files changed (2)

objects/src/type.winxed

     t.__str__ = t.__repr__;
 
     t.__getattribute__ = function(obj, key) {
-        cry(key);
+        cry(string(key));
 
         var cls = obj.__dict__['__class__'];
         var chain = get_mro(cls);

objects/t/typeobject.t

 
         var i = o();
         
-        self.assert.same(i.__class__, o); // it's t instead of o for some reason
+        self.assert.same(i.__class__, o);
     }
         
-    function instance_get() {
+    function instance_class_get() {
         :(var t, var o) = boot();
 
         var i = o.__new__(o);
 
         o.bla = 42;
 
-        say(i.bla == null);
         self.assert.same(i.bla, o.__dict__['bla']);
     }
 
-    function instance_class_get() {
+    function instance_parent_get() {
         :(var t, var o) = boot();
 
         var i = o.__new__(o);