petdance/scratch — Issue #1022: Key clone and set_pmc are broken
Author: petdance
Created: 2011-11-14 06:14:23+00:00
State: open
Labels: Pri-normal, Sev-medium, todo

The VTABLEs clone and set_pmc in the Key PMC uses the function key_set_pmc, and that function just throws with a message referring to a nonexistent slice.pmc and has a comment: "XXX leo - what for is this indirection?"
The key_set_pmc isn't used anywhere else and its name doesn't follow the naming convention, so is already deprecated. I'm going to delete it and replace its usage in Hash with throwing an exception with a message referring this ticket.

Originally http://trac.parrot.org/parrot/ticket/1683 by @notfound