Menu

#2 ContainerCreated not broadcast

open-later
Compilation (3)
6
2001-06-09
2001-06-09
No

A container should broadcast a ContainerCreated event upon creation, in order to force an initial compilation. This matters for containers which do not start out legal (i.e. variables don't initially have a type).

Unfortunately, there's not a good place to broadcast this event. It can't go in the constructor for Container, because the compiler may pick up the event before the subclasses' constructors have finished. Hrm.

Discussion

  • Paul Cantrell

    Paul Cantrell - 2001-06-09
    • assigned_to: nobody --> melquiades
     
  • Paul Cantrell

    Paul Cantrell - 2001-06-09

    Logged In: YES
    user_id=41726

    Classified as "unaesthetic", since any action that would involve a container with other parts of a program would lead to a compilation.

     
  • Paul Cantrell

    Paul Cantrell - 2001-06-09
    • labels: --> Compilation
    • milestone: --> Unaesthetic_behavior
    • status: open --> open-later
     

Log in to post a comment.

Auth0 Logo