Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove extra boxing... turns out the .__dump issue was in NQP, not Pa…
…rrot.
  • Loading branch information
pmichaud committed Jul 7, 2011
1 parent 0108338 commit 7426748
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/NQPMu.pm
Expand Up @@ -63,13 +63,13 @@ my class NQPMu {
my $attrtype := $_.type;
print("\n", $subindent, $type.HOW.name($type), "::", $name, " => ");
if $attrtype =:= int {
$dumper.'dump'($label, pir::box__Pi(nqp::getattr_i(self, $type, $name)));
$dumper.'dump'($label, nqp::getattr_i(self, $type, $name));
}
elsif $attrtype =:= num {
$dumper.'dump'($label, pir::box__Pn(nqp::getattr_n(self, $type, $name)));
$dumper.'dump'($label, nqp::getattr_n(self, $type, $name));
}
elsif $attrtype =:= str {
$dumper.'dump'($label, pir::box__Ps(nqp::getattr_s(self, $type, $name)));
$dumper.'dump'($label, nqp::getattr_s(self, $type, $name));
}
else {
$dumper.'dump'($label, nqp::getattr(self, $type, $name));
Expand Down

0 comments on commit 7426748

Please sign in to comment.