[perl #45985] [TODO] Isn't CONSTRUCT for creating new objects?

Klaas-Jan Stol via RT parrotbug-followup at parrotcode.org
Sat Nov 29 23:40:54 UTC 2008


On Fri Aug 29 10:05:40 2008, julianalbo wrote:
> This function was unused for a long time, deleted in r30637
> 
> But there is a question pending: Are the properties BUILD and 
CONSTRUCT
> supposed to be used? BUILD is mentioned in docs/compiler_faq.pod and 
is
> used in examples/sdl/tetris, that I can't test now for lack of the SDL
> library, but I don't see any mention in parrot sources other that the
> now deleted function.

IIRC, the BUILD and CONSTRUCT properties were early attempts for running 
code at a particular time (for initializing objects).

I think they're no longer used in the new object system.

Can anybody with Parrot OO Foo confirm/prove me wrong?
THen we can resolve this ticket, which would be nice.

Thanks!!

kjs




More information about the parrot-dev mailing list