0 Replies Latest reply on May 6, 2008 9:58 AM by (Erik_Tierney)

    [svn] 1571: Fix bugs ASC-3310, ASC-3337

      Revision: 1571
      Author: tierney@adobe.com
      Date: 2008-05-06 10:58:32 -0700 (Tue, 06 May 2008)

      Log Message:
      -----------
      Fix bugs ASC-3310, ASC-3337

      ASC-3337:
      ASC was emitting multinames for [] access with the wrong namespace set. It was using the def_namespaces, which is a list of open namespaces that conflicting definitions could be found in (public, private, protected, internal for a class). This set does not include any other open namespaces. This changes asc to use the set of all open namespaces, which includes namespaces open by default, and explicitly by the user.

      ASC-3310:
      LintEvaluator was returning ObjectValue.undefinedValue sometimes from a method that was supposed to be returning a TypeValue. This caused a ClaassCastException later as the return value was cast to a TypeValue. Change to return noType (*) instead of the undefinedValue.

      smokes: asc tests, tamarin tests, flex checkintests

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/ASC-3310
      http://bugs.adobe.com/jira/browse/ASC-3337
      http://bugs.adobe.com/jira/browse/ASC-3337
      http://bugs.adobe.com/jira/browse/ASC-3310

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/LintEvaluator.java
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/CodeGenerator.java