royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [royale-compiler] 07/08: oops, wrong name
Date Wed, 10 Oct 2018 19:33:53 GMT
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git

commit 79f8458d448f7b64bdc6f9b8a4fe2426c51c50b3
Author: Alex Harui <aharui@apache.org>
AuthorDate: Wed Oct 10 09:54:30 2018 -0700

    oops, wrong name
---
 .../compiler/internal/codegen/mxml/royale/MXMLRoyaleEmitter.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 5506a11..1fa01e3 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
@@ -1916,7 +1916,7 @@ public class MXMLRoyaleEmitter extends MXMLEmitter implements
         {
         	effectiveId = node.getEffectiveID();
         	if (effectiveId == null)
-        		effectiveId = MXMLRoyaleEmitterTokens.ID_PREFIX.getToken() + idCounter++;
+        		effectiveId = node.getClassDefinitionNode().getGeneratedID(node);
         }
 
         MXMLDescriptorSpecifier currentInstance = new MXMLDescriptorSpecifier();
@@ -3186,7 +3186,7 @@ public class MXMLRoyaleEmitter extends MXMLEmitter implements
 
     			        MXMLDescriptorSpecifier argListSpecifier = new MXMLDescriptorSpecifier();
     			        argListSpecifier.isProperty = true;
-    			        argListSpecifier.name = "argumentList";
+    			        argListSpecifier.name = "argumentNames";
     			        argListSpecifier.parent = operationInstance;
     			        argListSpecifier.value = list.toString();
 				        if (operationInstance != null)


Mime
View raw message