# New Ticket Created by  Will Coleda 
# Please include the string:  [perl #27369]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=27369 >


When dumping a PMC type that isn't one dumper knows about, this small 
patch changes it to print out a name in addition to the number, so we 
get:

(Honestly, I'd prefer just the name, but I presume the original author 
wanted the number for a reason)

bash-2.05a$ cat foo.imc
.pcc_sub main prototyped
   $P1 = new ParrotIO
   _dumper($P1)
   end
.end
.include "library/dumper.imc"
bash-2.05a$ ./parrot foo.imc
"VAR1" => unknown-type(pmc #26:ParrotIO)

Attachment: dumper.patch
Description: Binary data


--
Will "Coke" Coleda                                    will at coleda 
dot com

Reply via email to