Repository: flex-falcon
Updated Branches:
  refs/heads/develop 3c4cd6cd8 -> 0f1a4b07d


handle class-level [bindable] for getter/setters


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/0f1a4b07
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/0f1a4b07
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/0f1a4b07

Branch: refs/heads/develop
Commit: 0f1a4b07de3bc68577dcf95d5f6710f3553e9078
Parents: 3c4cd6c
Author: Alex Harui <[email protected]>
Authored: Mon Nov 28 22:32:40 2016 -0800
Committer: Alex Harui <[email protected]>
Committed: Mon Nov 28 22:32:40 2016 -0800

----------------------------------------------------------------------
 .../internal/as/codegen/ClassDirectiveProcessor.java    | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/0f1a4b07/compiler/src/main/java/org/apache/flex/compiler/internal/as/codegen/ClassDirectiveProcessor.java
----------------------------------------------------------------------
diff --git 
a/compiler/src/main/java/org/apache/flex/compiler/internal/as/codegen/ClassDirectiveProcessor.java
 
b/compiler/src/main/java/org/apache/flex/compiler/internal/as/codegen/ClassDirectiveProcessor.java
index 99e7c1b..106bca5 100644
--- 
a/compiler/src/main/java/org/apache/flex/compiler/internal/as/codegen/ClassDirectiveProcessor.java
+++ 
b/compiler/src/main/java/org/apache/flex/compiler/internal/as/codegen/ClassDirectiveProcessor.java
@@ -838,6 +838,18 @@ class ClassDirectiveProcessor extends DirectiveProcessor
                     }
                 }
             }
+            if (!isBindable)
+            {
+                metaTags = getClassDefinition().getAllMetaTags();
+                for (IMetaTag metaTag : metaTags)
+                {
+                    if (metaTag.getTagName().equals(BindableHelper.BINDABLE))
+                    {
+                        IMetaTagAttribute[] attrs = metaTag.getAllAttributes();
+                        isBindable = attrs.length == 0;
+                    }
+                }
+            }
         }
         
         functionSemanticChecks(func);

Reply via email to