You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/09/10 15:57:36 UTC

[royale-compiler] branch release/0.9.6 updated: fix alt params again

This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/release/0.9.6 by this push:
     new 7635ee6  fix alt params again
7635ee6 is described below

commit 7635ee60553e74306936ca362ca13f1c46bb16ab
Author: Alex Harui <ah...@apache.org>
AuthorDate: Tue Sep 10 08:57:13 2019 -0700

    fix alt params again
---
 .../org/apache/royale/compiler/internal/projects/RoyaleProject.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/src/main/java/org/apache/royale/compiler/internal/projects/RoyaleProject.java b/compiler/src/main/java/org/apache/royale/compiler/internal/projects/RoyaleProject.java
index 7609413..e2a63e5 100644
--- a/compiler/src/main/java/org/apache/royale/compiler/internal/projects/RoyaleProject.java
+++ b/compiler/src/main/java/org/apache/royale/compiler/internal/projects/RoyaleProject.java
@@ -2377,7 +2377,7 @@ public class RoyaleProject extends ASProject implements IRoyaleProject, ICompile
 						for (int i = 0; i < n; i++)
 						{
 							String item = paramMap[i];
-							if (expectedDefinition.getQualifiedName().equals(item))
+							if (((ITypeDefinition)expectedDefinition).isInstanceOf(item, this))
 							{
 								String alts = altparamMap[i];
 								String[] altList;