You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by gr...@apache.org on 2019/06/20 05:29:31 UTC
[royale-compiler] branch develop updated: Fix for mxml localId
output
This is an automated email from the ASF dual-hosted git repository.
gregdove 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 7adaddd Fix for mxml localId output
7adaddd is described below
commit 7adaddd9a54b315be5b4877bbca6364edbf90179
Author: greg-dove <gr...@gmail.com>
AuthorDate: Thu Jun 20 16:37:37 2019 +1200
Fix for mxml localId output
---
.../royale/compiler/internal/codegen/mxml/royale/MXMLRoyaleEmitter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyaleEmitter.java b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyaleEmitter.java
index ba1f799..9918c72 100644
--- a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyaleEmitter.java
+++ b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyaleEmitter.java
@@ -1803,7 +1803,7 @@ public class MXMLRoyaleEmitter extends MXMLEmitter implements
int n = 0;
for (MXMLDescriptorSpecifier instance : instances)
{
- if (instance.id != null)
+ if (instance.id != null || instance.hasLocalId)
{
n++;
}