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 aed3bed67 MXMLRoyaleEmitter: followup to fix extra comma in array when
instance node descriptor should be skipped
aed3bed67 is described below
commit aed3bed67ff4188e1150c0d5bb2f260f78e07901
Author: Josh Tynjala <[email protected]>
AuthorDate: Tue Jul 14 16:25:24 2026 -0700
MXMLRoyaleEmitter: followup to fix extra comma in array when instance node
descriptor should be skipped
Followup to commit a05d8400c466da4bebebb04e0f99415e14c3a5ab
---
.../compiler/internal/codegen/mxml/royale/MXMLRoyaleEmitter.java | 4 ++++
1 file changed, 4 insertions(+)
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 3db245f46..fd9dedb60 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
@@ -5700,6 +5700,10 @@ public class MXMLRoyaleEmitter extends MXMLEmitter
implements
if (childNode instanceof IMXMLInstanceNode)
{
IMXMLInstanceNode instanceNode = (IMXMLInstanceNode)
childNode;
+ if (!instanceNode.needsDescriptor())
+ {
+ continue;
+ }
if (childDescriptorCount > 0)
{
write(ASEmitterTokens.COMMA);