Summary: Make $styles inherit correctly from superclasses
Bugs Fixed:
LPP-2606 $styles does not inherit from superclass
Technical Reviewer: adam (pending)
QA Reviewer: ben (pending)
Doc Reviewer: n/a
Details:
Define a default $styles method that returns null. The
compiler-generated $styles method calls super.$styles and if it is
a map, adds to that map, otherwise, creates and returns a new map.
Change LzNode's initialize method to correctly invoke the $styles
method, not the $styles function in the arglist.
Tests:
test/style/constraints/constraint-test.lzx
Files:
M lps/lfc/core/LzNode.as
M lps/server/src/org/openlaszlo/compiler/NodeModel.java
patch.ptw.YO9D.tgz
Description: Binary data
_______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
