Skip to content

Commit a4c12ba

Browse files
committed
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

Lines changed: 1 addition & 1 deletion
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);

0 commit comments

Comments
 (0)