We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 2190459 commit 775d973Copy full SHA for 775d973
opal/corelib/runtime.js
@@ -641,9 +641,10 @@
641
642
var find_obj_super_dispatcher = function(obj, jsid, current_func) {
643
var klass = obj.$$meta || obj.$$class;
644
+ jsid = '$' + jsid;
645
646
while (klass) {
- if (klass.$$proto['$' + jsid] === current_func) {
647
+ if (klass.$$proto[jsid] === current_func) {
648
// ok
649
break;
650
}
@@ -660,7 +661,7 @@
660
661
662
// else, let's find the next one
663
- var working = klass.$$proto['$' + jsid];
664
+ var working = klass.$$proto[jsid];
665
666
if (working && working !== current_func) {
667
0 commit comments