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 2018/05/03 18:56:52 UTC

[royale-compiler] branch develop updated (e47dbda -> 64124a1)

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

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


    from e47dbda  [maven-release-plugin] prepare for next development iteration
     new 2d213f1  suppress more warnings
     new 64124a1  better error messages

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../org/apache/royale/compiler/utils/JSClosureCompilerWrapper.java  | 2 +-
 .../compiler/internal/semantics/MethodBodySemanticChecker.java      | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

-- 
To stop receiving notification emails like this one, please contact
aharui@apache.org.

[royale-compiler] 01/02: suppress more warnings

Posted by ah...@apache.org.
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 2d213f1f5927a4e8bd00a5e23c0afbdfa8cb7494
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu May 3 11:55:07 2018 -0700

    suppress more warnings
---
 .../java/org/apache/royale/compiler/utils/JSClosureCompilerWrapper.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/utils/JSClosureCompilerWrapper.java b/compiler-jx/src/main/java/org/apache/royale/compiler/utils/JSClosureCompilerWrapper.java
index 2b1abfd..44f3940 100644
--- a/compiler-jx/src/main/java/org/apache/royale/compiler/utils/JSClosureCompilerWrapper.java
+++ b/compiler-jx/src/main/java/org/apache/royale/compiler/utils/JSClosureCompilerWrapper.java
@@ -394,7 +394,7 @@ public class JSClosureCompilerWrapper
         String[] asdocTags = new String[] {"productversion", 
         		"playerversion", "langversion", "copy", 
         		"asparam", "asreturn", "asprivate",
-        		"royaleignoreimport", "royaleignorecoercion", "royalenoimplicitstringconversion"};
+        		"royaleignoreimport", "royaleignorecoercion", "royaleemitcoercion", "royalenoimplicitstringconversion"};
         options_.setExtraAnnotationNames(Arrays.asList(asdocTags));
     }
     

-- 
To stop receiving notification emails like this one, please contact
aharui@apache.org.

[royale-compiler] 02/02: better error messages

Posted by ah...@apache.org.
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 64124a1473b587a13e0c4e8fa6bbf06ffb1d7e80
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu May 3 11:56:02 2018 -0700

    better error messages
---
 .../compiler/internal/semantics/MethodBodySemanticChecker.java      | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/compiler/src/main/java/org/apache/royale/compiler/internal/semantics/MethodBodySemanticChecker.java b/compiler/src/main/java/org/apache/royale/compiler/internal/semantics/MethodBodySemanticChecker.java
index 843eb5f..1ed40b6 100644
--- a/compiler/src/main/java/org/apache/royale/compiler/internal/semantics/MethodBodySemanticChecker.java
+++ b/compiler/src/main/java/org/apache/royale/compiler/internal/semantics/MethodBodySemanticChecker.java
@@ -1745,6 +1745,12 @@ public class MethodBodySemanticChecker
                 );
         }
 
+        while (iNode.getSourcePath().contains("compiler-jx") &&
+        		iNode.getSourcePath().contains("config.as"))
+		{
+        	iNode = iNode.getParent();
+		}
+        	
         return new AccessUndefinedPropertyProblem(iNode, unknown_name);
     }
     

-- 
To stop receiving notification emails like this one, please contact
aharui@apache.org.