[Laszlo-dev] fwd reference doesn't work when it's in a plain old <library>
Henry Minsky
henry.minsky at gmail.com
Thu Nov 12 22:44:14 PST 2009
Even with your fwd reference pathc, this case isn't working (in swf8 and
dhtml), when there's just a plain <include> of a library .lzx (not .lzo)
and there's a fwd reference that makes an anonymous instance class.
<canvas>
<include href="classlib.lzx"/>
</canvas>
<library>
<bar>
<method name="anyoldmethod">
Debug.info("this method is just so that an anonymous instance class
gets created");
</method>
</bar>
<!-- move this above previous def, and it works without error-->
<class name="bar"><text>bar</text></class>
</library>
<a title="#0">ERROR @classlib.lzo≈10: reference to undefined variable
'$lzc$class_bar'</a>
<a title="#1">ERROR @classlib.lzo≈10: undefined object does not have a
property 'attributes'</a>
<a title="#2">WARNING @classlib.lzo≈10: reference to undefined property
'attributes'</a>
<a title="#3">ERROR @classlib.lzo≈10: undefined object does not have a
property '[]'</a>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20091112/574733e2/attachment.html
More information about the Laszlo-dev
mailing list