0 Replies Latest reply on Oct 23, 2008 10:45 AM by (Paul_Reilly)

    [svn] 3850: Fixed lint warnings when AST generation is enabled.

    Level 1
      Revision: 3850
      Author: preilly@adobe.com
      Date: 2008-10-23 11:45:50 -0700 (Thu, 23 Oct 2008)

      Log Message:
      -----------
      Fixed lint warnings when AST generation is enabled.

      tests Passed: checkintests

      Needs QA: YES

      Needs DOC: NO

      Bug fixes: SDK-16289

      API Change: NO

      Reviewer: pfarland

      Code-level description of changes:

      modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java

      Modified generateAssignment() to set the SetExpressionNode's
      position to a non-zero value, so LintEvaluator doesn't skip
      reporting warnings.

      modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.java

      Removed dead code.

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-16289

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.ja va