[I plan to check this in so Yuwen can test.]

Change ptw-20110120-D0q by [email protected] on 2011-01-20 06:10:02 EST
    in /Users/ptw/OpenLaszlo/trunk-3
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Add subviews to LZO interface specs

Bugs Fixed:  LPP-9691 Child nodes not created for instance classes when created 
in LZO

Technical Reviewer: [email protected] (pending)
QA Reviewer: [email protected] (pending)

Details:
    Recent changes caused the compiler to build more complete schema
    models which are relied on when deciding whether or not to
    optimize the merging of child nodes at compile time.  LZO
    interfaces were not modelling subviews, causing the optimization
    to make the wrong decision.  We now emit declarations of subviews
    in the LZO schema models.  (This should also have the beneficial
    side-effect of ensuring that named subviews do not collide with
    subclass attributes.)

Tests:
    Regression test added in r18291 to ant lztest passes.

Files:
M       WEB-INF/lps/server/src/org/openlaszlo/compiler/ClassModel.java

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/ptw-20110120-D0q.tar

Reply via email to