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/01 15:56:01 UTC
[royale-compiler] branch develop updated: ClosureUtils: do not
export externs/typedefs
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 <jo...@apache.org>
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)
{