You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2020/06/29 19:05:28 UTC

[royale-compiler] branch develop updated: JSRoyaleDocEmitter: missed protected in previous commit

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

joshtynjala 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 5bd59e4  JSRoyaleDocEmitter: missed protected in previous commit
5bd59e4 is described below

commit 5bd59e40c65aea942b200b379757a800fb0ec9cf
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Mon Jun 29 12:05:18 2020 -0700

    JSRoyaleDocEmitter: missed protected in previous commit
---
 .../royale/compiler/internal/codegen/js/royale/JSRoyaleDocEmitter.java   | 1 +
 1 file changed, 1 insertion(+)

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 959f3aa..7d9aa22 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
@@ -148,6 +148,7 @@ public class JSRoyaleDocEmitter extends JSGoogDocEmitter
             exportProtected = false;
         }
         emitExports = emitExports && !node.hasModifier(ASModifier.STATIC) && !node.getFunctionClassification().equals(FunctionClassification.PACKAGE_MEMBER);
+        exportProtected = exportProtected && !node.hasModifier(ASModifier.STATIC);
         
         coercionList = null;
         ignoreList = null;