A declared event needs to get initialized to something, and it has to happen pretty early.
We're using the sentinel object now, there was some talk of making it so the compiler expanded
sendEvent to do a check for null instead? I guess we can overlap these implementations, and if the
compiler check is implemented then we could then just bind the sentinel object to null..
> Sounds like it should definitely be initialized to the sentinel
> array...
As the TODO says, this is a fragile area of the tag compiler stemming
from treating an event declaration as an attribute declaration. It
might work to use the sentinel event instead of null, but perhaps we
want to consider if now is the time to split events from attributes?
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
_______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
