petdance/scratch — Issue #641: Key clone and set_pmc are broken
Author: petdance
Created: 2011-11-01 05:35:31+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.

Trac ID #1683