Skip to content
Browse files

Merge pull request #14 from atoy40/master

Bug in javascript function p5get_class_for_method
  • Loading branch information...
2 parents 1f09a80 + f73a4c8 commit a96fa40a662df8eae3d5e6fdabb8b0c96dd7518c @fglock committed Oct 24, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 perlito5.pl
  2. +1 −1 src5/lib/Perlito5/Javascript2/Runtime.pm
  3. +1 −1 src5/lib/Perlito5/Javascript3/Runtime.pm
View
4 perlito5.pl
2 additions, 2 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 src5/lib/Perlito5/Javascript2/Runtime.pm
@@ -117,7 +117,7 @@ function p5get_class_for_method(method, class_name, seen) {
var isa = p5pkg[class_name].List_ISA;
for (var i = 0; i < isa.length; i++) {
if (!seen[isa[i]]) {
- var m = p5get_class_for_method(method, isa[i]);
+ var m = p5get_class_for_method(method, isa[i], seen);
if (m) {
return m
}
View
2 src5/lib/Perlito5/Javascript3/Runtime.pm
@@ -125,7 +125,7 @@ function p5get_class_for_method(method, class_name, seen) {
var isa = p5pkg[class_name].List_ISA;
for (var i = 0; i < isa.length; i++) {
if (!seen[isa[i]]) {
- var m = p5get_class_for_method(method, isa[i]);
+ var m = p5get_class_for_method(method, isa[i], seen);
if (m) {
return m
}

0 comments on commit a96fa40

Please sign in to comment.
Something went wrong with that request. Please try again.