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 <aha...@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
aha...@apache.org.

Reply via email to