[Laszlo-dev] bug in event init process
Henry Minsky
henry.minsky at gmail.com
Fri Jun 23 15:32:22 EDT 2006
Yeah I think now would be better than later.
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
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20060623/c18deba3/attachment.html
More information about the Laszlo-dev
mailing list