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
commit 787b263fed8feab904407753cf2daaa93a76514b Author: Alex Harui <aha...@apache.org> AuthorDate: Tue Jan 8 10:12:56 2019 -0800 don't warn on internal classes. This assumes internal classes are not serialized or accessed with brackets --- .../royale/compiler/internal/codegen/js/royale/JSRoyaleDocEmitter.java | 2 ++ 1 file changed, 2 insertions(+) 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 d6a957f..b26dcff 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 @@ -490,6 +490,8 @@ public class JSRoyaleDocEmitter extends JSGoogDocEmitter IClassDefinition cdef = ((IClassNode)classNode).getDefinition(); if (cdef.isBindable()) return true; + if (!cdef.isPublic()) + return true; } return false; }