petdance/scratch — Issue #303: Key clone and set_pmc are broken
Author: petdance
Created: 2011-11-01 04:25:37+00:00
State: open

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.