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 16:39:50 UTC
[royale-compiler] branch develop updated: ClosureUtils: tweak
export of protected accessors because AccessorEmitter doesn't use the
at-export annotation at this time
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 87f067e ClosureUtils: tweak export of protected accessors because AccessorEmitter doesn't use the at-export annotation at this time
87f067e is described below
commit 87f067eb00bcaecf82132949a7129dd1a822e15a
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Mon Jun 29 09:39:30 2020 -0700
ClosureUtils: tweak export of protected accessors because AccessorEmitter doesn't use the at-export annotation at this time
---
.../src/main/java/org/apache/royale/compiler/utils/ClosureUtils.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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 0a28046..dd90ffa 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
@@ -99,7 +99,9 @@ public class ClosureUtils
{
if (localDef instanceof IAccessorDefinition)
{
- if ((isPublic && exportPublic) || (isProtected && exportProtected))
+ /* disabled temporarily until AccessorEmitter handles @export
+ (isProtected && exportProtected) */
+ if ((isPublic && exportPublic))
{
//if an accessor is exported, we don't
//need to prevent renaming