[Laszlo-dev] For Review: Change 20090401-ptw-K Summary: The last nail for LPP-7750?

P T Withington ptw at pobox.com
Wed Apr 1 12:21:29 PDT 2009


[I am checking this in to trunk so Maynard can test.  If it works, I  
will propose integrating to 4.3]

Change 20090401-ptw-K by ptw at dueling-banjos.home on 2009-04-01  
14:26:40 EDT
     in /Users/ptw/OpenLaszlo/trunk-3
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: The last nail for LPP-7750?

Bugs Fixed: LPP-7750 Many warnings and errors with LZOs

Technical Reviewer: hminsky (pending)
QA Reviewer: mdemmon (pending)

Details:
     Remove the bogus methods getMerged*, which can't work because the
     compiler does not know all classes at compile time (it does not
     know the structure of the LFC-implemented classes and it does not
     know the structure of classes that will come from libraries).

     Define a new predicate inheritsClassChildren that tells whether
     the super class has (or could have, for classes we don't know)
     children.

     Fix the optimization for merging superclass children into a
     class to use the new predicate and be correct.

Tests:
     Test case from bug report

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

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090401-ptw-K.tar


More information about the Laszlo-dev mailing list