#1106: Cannot presently dump Class pmcs
-----------------------------+----------------------------------------------
Reporter: Austin_Hastings | Owner: whiteknight
Type: bug | Status: new
Priority: minor | Milestone: 3.0
Component: library | Version: 1.6.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: all |
-----------------------------+----------------------------------------------
Changes (by whiteknight):
* priority: normal => minor
* platform: => all
* component: none => library
* milestone: => 3.0
Comment:
The following code snippet works for me and does not throw an unhandled
exception like what was posted in the ticket:
{{
.sub main :main
load_bytecode 'Data/Dumper.pbc'
$P0 = newclass 'Foo'
$P1 = new ["Data";"Dumper"]
$P1.'dumper'($P0)
.end
}}}
this isn't the _dumper function like was mentioned, but it is Data::Dumper
and it does dump a Class PMC without problems. Unless I can see some kind
of concrete counter-example, I'm going to close this ticket in a few days.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1106#comment:4>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets