Bug in javascript function p5get_class_for_method #14

Merged
merged 2 commits into from Oct 24, 2012

Projects

None yet

2 participants

@atoy40
atoy40 commented Oct 22, 2012

The recursive call to p5get_class_for_method doesn't propagate the "seen" Array, so it generate a javascript exception if you've a @ISA hierarchy with more than 2 classes. (there is 2 commits, one for the fix in Runtime(s).pm and one with the perlito5.pl compiler bootstraped)

Anthony.

@fglock fglock merged commit a96fa40 into fglock:master Oct 24, 2012
Owner
fglock commented Oct 24, 2012

applied, thanks!

2012/10/22 Anthony Hinsinger notifications@github.com

The recursive call to p5get_class_for_method doesn't propagate the "seen"
Array, so it generate a javascript exception if you've a @ISAhttps://github.com/ISAhierarchy with more than 2 classes. (there is 2 commits, one for the fix in
Runtime(s).pm and one with the perlito5.pl compiler bootstraped)

Anthony.

You can merge this Pull Request by running:

git pull https://github.com/atoy40/Perlito master

Or view, comment on, or merge it at:

#14
Commit Summary

  • Fixed a bug in javascript function p5get_class_for_method
  • Re-bootstrap perlito5.pl with javascript bug fixed

File Changes

  • M perlito5.pl (4)
  • M src5/lib/Perlito5/Javascript2/Runtime.pm (2)
  • M src5/lib/Perlito5/Javascript3/Runtime.pm (2)

Patch Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment