Skip to content

Commit

Permalink
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions corelib/kernel.rb
Original file line number Diff line number Diff line change
@@ -465,6 +465,7 @@ def singleton_class
#{self}.__meta__ = meta;
meta._klass = orig_class._klass;
meta._scope = orig_class._scope;
meta.__parent = orig_class;
return meta;
}
2 changes: 1 addition & 1 deletion corelib/runtime.js
Original file line number Diff line number Diff line change
@@ -416,7 +416,7 @@
};

var find_obj_super_dispatcher = function(obj, jsid, current_func) {
var klass = obj._klass;
var klass = obj.__meta__ || obj._klass;

while (klass) {
if (klass._proto['$' + jsid] === current_func) {

0 comments on commit e86256b

Please sign in to comment.