On Oct 28, 2007, at 12:04 AM, Charles Oliver Nutter wrote:
> M. Edward (Ed) Borasky wrote:
>> Let me re-phrase that ... how do I know when I'm coding that I'm
>> not going to ask for it? Do I need to explicitly call/require/
>> include something to get it?
>
> Well, you need to explicitly reference ObjectSpace in most cases to
> access it, right?
>
> In general, the tricky bit is that there's at least one key library
> in stdlib that depends on ObjectSpace: test/unit, which uses it to
> locate tests.
Couldn't test/unit define an inherited() hook and locate test cases
that way? I haven't looked at the code, but it seems like that could
work.
James Edward Gray II