Skip to content

Commit a4c12ba

Browse files
committedNov 15, 2013
Fix super() dispatches on class methods (fixes #405)
1 parent 5303510 commit a4c12ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎opal/core/runtime.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@
494494
}
495495
else {
496496
if (obj._isClass) {
497-
dispatcher = obj._klass;
497+
dispatcher = obj._super;
498498
}
499499
else {
500500
dispatcher = find_obj_super_dispatcher(obj, jsid, current_func);

1 commit comments

Comments
 (1)

elia commented on Nov 16, 2013

@elia
Member

Boom!

Please sign in to comment.