In op_get_class_p_p, it looks like you switch from "Ape" to "Monkey"
when getting the class from a namespace. I can't picture this causing
any problems, but it's a good idea to keep the subs as self-contained as
possible. As changing "Monkey" to "Ape" in that sub doesn't cause any
failures, is there any reason not to do so?
Also, tests should be very explicit about which exception type(s)
they're catching. This keeps other incidental exceptions from masking
bugs. The first test in t/pmc/ro.t is a good example of what to do.
You can find the exception type by acking Parrot for the exception's
message.
Other than that, the patch looks good. Make those changes and I'll be
glad to apply it.
Christoph
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev
For future reference, please give different versions of a patch
different names, e.g. ops_test_rewrite.patch, ops_test_rewrite_v2.patch,
etc so it's easy to tell which version should be applied.
The updated patch was applied in r32809. Thanks for contributing.
Christoph
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev