Skip to content

Commit

Permalink
A cheat for Parrot to fix failing tests.
Browse files Browse the repository at this point in the history
This along with the NQP patch gets this branch fuctioning well on
Parrot; the multispec itself isn't used, but the improvements to proto
and CALLER::/OUTER:: pseudo-package interaction now work out on Parrot,
and future fixes to OUTER:: with regard to thunks should work too.
  • Loading branch information
jnthn committed Apr 10, 2014
1 parent 83adc48 commit edccc49
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/Backtrace.pm
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ my class Backtrace is List {

multi method new() {
try { die() };
#?if parrot
self.new($!, 3);
#?endif
#?if !parrot
self.new($!, 2);
#?endif
}

# note that parrot backtraces are RPAs, marshalled to us as Parcel
Expand Down

0 comments on commit edccc49

Please sign in to comment.