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 58c34f1  Fixes issue #211
58c34f1 is described below

commit 58c34f11efd219c645d0971d17522ea156dc9667
Author: greg-dove <[email protected]>
AuthorDate: Sat Apr 2 11:51:56 2022 +1300

    Fixes issue #211
---
 .../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 acba799..59f387e 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
@@ -948,7 +948,10 @@ public class MXMLRoyaleEmitter extends MXMLEmitter 
implements
         int oldEventCounter;
         int oldIdCounter;
         boolean oldInMXMLContent;
+        String oldInterfaceList;
 
+        oldInterfaceList = interfaceList;
+        interfaceList = null;
         oldDescriptorTree = descriptorTree;
         descriptorTree = new ArrayList<MXMLDescriptorSpecifier>();
         oldPropertiesTree = propertiesTree;
@@ -1034,6 +1037,7 @@ public class MXMLRoyaleEmitter extends MXMLEmitter 
implements
         idCounter = oldIdCounter;
         inMXMLContent = oldInMXMLContent;
         classDefinition = oldClassDef;
+        interfaceList = oldInterfaceList;
         ((JSRoyaleEmitter) asEmitter).getModel().popClass();
         ((JSRoyaleEmitter) asEmitter).mxmlEmitter = null;
 

Reply via email to