#1259: src/debug.c: Correctly handle comparisons of PMCs with constants
---------------------+------------------------------------------------------
Reporter: jkeenan | Owner:
Type: todo | Status: new
Priority: normal | Milestone:
Component: core | Version: 1.7.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
---------------------+------------------------------------------------------
This ticket moves into Trac discussion of an issue originally discussed in
RT at [http://rt.perl.org/rt3/Ticket/Display.html?id=46123 RT #46123].
In that RT, Paul Cochrane noted this TODO item in the file in question:
{{{
1545 PARROT_CAN_RETURN_NULL
1546 PDB_condition_t *
1547 PDB_cond(PARROT_INTERP, ARGIN(const char *command))
1548 {
...
1694 else if (condition->type & PDB_cond_pmc) {
1695 /* RT #46123 Need to figure out what to do in this case.
1696 * For the time being, we just bail. */
1697 Parrot_io_eprintf(
interp->pdb->debugger, "Can't compare PMC with
constant\n");
1698 mem_sys_free(condition);
1699 return NULL;
1700 }
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1259>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets