0 Replies Latest reply on Apr 24, 2008 6:15 AM by (Paul_Reilly)

    [svn] 1378: Fixed some recently introduced mxunit databinding failures when

    Level 1
      Revision: 1378
      Author: preilly@adobe.com
      Date: 2008-04-24 07:15:10 -0700 (Thu, 24 Apr 2008)

      Log Message:
      -----------
      Fixed some recently introduced mxunit databinding failures when
      -generate-abstract-syntax-tree is turned on.

      checkintests Passed: YES

      Needs QA: No

      Needs DOC: NO

      API Change: NO

      Code-level description of changes:

      AbstractSyntaxTreeUtil.java

      Added some asserts to parse() to help catch ASC changes early.

      binding/DataBindingExtension.java

      Modified both generateAccessorFunction()'s to no longer skip the
      first two nodes as AbstractSyntaxTreeUtil.parse() handles this.

      Modified generateInitFunctionCommon() to set the
      FunctionSignatureNode's void_anno to true.

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension. java