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 e662e2f  ClosureUtils: do not export externs/typedefs
e662e2f is described below

commit e662e2f337b1df775afd120675f2afa03f9be7be
Author: Josh Tynjala <[email protected]>
AuthorDate: Mon Jun 1 08:51:14 2020 -0700

    ClosureUtils: do not export externs/typedefs
---
 .../src/main/java/org/apache/royale/compiler/utils/ClosureUtils.java  | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/compiler-jx/src/main/java/org/apache/royale/compiler/utils/ClosureUtils.java 
b/compiler-jx/src/main/java/org/apache/royale/compiler/utils/ClosureUtils.java
index e148a2c..0a28046 100644
--- 
a/compiler-jx/src/main/java/org/apache/royale/compiler/utils/ClosureUtils.java
+++ 
b/compiler-jx/src/main/java/org/apache/royale/compiler/utils/ClosureUtils.java
@@ -157,6 +157,10 @@ public class ClosureUtils
                     }
                     else
                     {
+                        if (project.isExterns(qualifiedName))
+                        {
+                            return;
+                        }
                         symbolsResult.add(qualifiedName);
                         if(parentQName == null)
                         {

Reply via email to