Change change.ptpIrl8ZB.txt by ptw@tin-woodsman.local /Users/ptw/pending-changes/ on 2006-09-04 12:41:24 EDT

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: (pending)

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
