This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git


The following commit(s) were added to refs/heads/develop by this push:
     new d9faf61  the def is the type not the declaration so its bindability 
doesn't matter
d9faf61 is described below

commit d9faf61217093b638ff8c346ed9070101e41ebe2
Author: Alex Harui <aha...@apache.org>
AuthorDate: Fri Feb 23 11:49:41 2018 -0800

    the def is the type not the declaration so its bindability doesn't matter
---
 .../royale/compiler/internal/codegen/js/royale/JSRoyaleDocEmitter.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/royale/JSRoyaleDocEmitter.java
 
b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/royale/JSRoyaleDocEmitter.java
index 362035b..71ecd89 100644
--- 
a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/royale/JSRoyaleDocEmitter.java
+++ 
b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/royale/JSRoyaleDocEmitter.java
@@ -437,7 +437,7 @@ public class JSRoyaleDocEmitter extends JSGoogDocEmitter
                if (tag != null)
                        bindable = true;
             }
-            if (warnPublicVars && !node.isConst() && !(def.isBindable() || 
bindable))
+            if (warnPublicVars && !node.isConst() && !bindable)
             {
                 if (!suppressedWarning(node, fjp))
                        fjp.getProblems().add(new 
PublicVarWarningProblem(node));

-- 
To stop receiving notification emails like this one, please contact
aha...@apache.org.

Reply via email to