0 Replies Latest reply on Jun 10, 2008 11:47 AM by (Erik_Tierney)

    [svn] 2021: Fix a bugs asc-3384 & asc-3414.

      Revision: 2021
      Author: tierney@adobe.com
      Date: 2008-06-10 12:47:10 -0700 (Tue, 10 Jun 2008)

      Log Message:
      -----------
      Fix a bugs asc-3384 & asc-3414.

      LintEvaluator was just doing the wrong thing for a WithStatement. Changed it to do what all the other evaluators do. This caused the reference inside the with to not know it was inside a with statement, and early bind to the local var.

      Changed code in CE to return the ReferenceValue for an ApplyTypeExpr - this was preventing the as operator from working correctly.

      flex checkintests, tamarin tests pass.

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/asc-3384
      http://bugs.adobe.com/jira/browse/asc-3414

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