Permalink
Browse files

Improve DUMP reporting for RPA.

  • Loading branch information...
1 parent 1d9ff0d commit 6901639d53e9e8a8ddfc42ad34b58aca812b1361 @pmichaud pmichaud committed Jun 7, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/core/Mu.pm
View
@@ -433,7 +433,9 @@ sub DUMP(|$) {
my Mu $topic := nqp::shift($args);
if nqp::isnull($topic) { '(null)' }
elsif nqp::islist($topic) {
- my $s = pir::typeof__SP($topic) ~ '<' ~ nqp::p6box_s(nqp::where($topic)) ~ '>(';
+ my str $type = pir::typeof__SP($topic);
+ $type = 'RPA' if $type eq 'ResizablePMCArray';
+ my $s = $type ~ '<' ~ nqp::p6box_s(nqp::where($topic)) ~ '>(';
my $t = '';
$topic := nqp::clone($topic);
while $topic {

0 comments on commit 6901639

Please sign in to comment.