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 94a26f9  ClosureUtils: cannot export package during this pass because 
something else may have already been exported by Closure and would be 
overwritten
94a26f9 is described below

commit 94a26f9cd2a67f1cc25493c76c4faa37c0f07c36
Author: Josh Tynjala <[email protected]>
AuthorDate: Wed May 27 09:35:37 2020 -0700

    ClosureUtils: cannot export package during this pass because something else 
may have already been exported by Closure and would be overwritten
---
 .../java/org/apache/royale/compiler/utils/ClosureUtils.java    | 10 ----------
 1 file changed, 10 deletions(-)

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 c1323d4..e148a2c 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,16 +157,6 @@ public class ClosureUtils
                     }
                     else
                     {
-                        if (def instanceof IVariableDefinition
-                                && !(def instanceof IAccessorDefinition))
-                        {
-                            IVariableDefinition varDef = (IVariableDefinition) 
def;
-                            if 
(varDef.getVariableClassification().equals(VariableClassification.PACKAGE_MEMBER)
-                                    && varDef.getPackageName() != null
-                                    && varDef.getPackageName().length() > 0) {
-                                symbolsResult.add(def.getPackageName());
-                            }
-                        }
                         symbolsResult.add(qualifiedName);
                         if(parentQName == null)
                         {

Reply via email to