petdance/scratch — Issue #1134: getprop  op is strange
Author: petdance
Created: 2011-11-14 06:14:50+00:00
State: open
Labels: core, Pri-trivial, rfc, Sev-low

The getprop op is strange because it has a signature getprop_p_s_p. By analogy, the getattr opcode has signature getattr_p_p_s. setprop_p_s_p and setattr_p_s_p are similar and are not a problem.
getprop_p_s_p should be changed to getprop_p_p_s for symmetry with other ops.

Also, we should take some time to reconsider the whole properties mechanism, since I don't think it is used often. It *is* used, but not often and I'm not sure that it's the best mechanism for doing what we want to do with it.

Originally http://trac.parrot.org/parrot/ticket/2114 by @Whiteknight