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
The following commit(s) were added to refs/heads/develop by this push:
new 8227a4a NPE check
8227a4a is described below
commit 8227a4ae40166346fb672c6331bf03de2aade6e7
Author: Alex Harui <[email protected]>
AuthorDate: Mon Feb 26 10:25:12 2018 -0800
NPE check
---
.../org/apache/royale/compiler/internal/tree/as/IdentifierNode.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/compiler/src/main/java/org/apache/royale/compiler/internal/tree/as/IdentifierNode.java
b/compiler/src/main/java/org/apache/royale/compiler/internal/tree/as/IdentifierNode.java
index 7ba01c2..ccad9d6 100644
---
a/compiler/src/main/java/org/apache/royale/compiler/internal/tree/as/IdentifierNode.java
+++
b/compiler/src/main/java/org/apache/royale/compiler/internal/tree/as/IdentifierNode.java
@@ -418,7 +418,7 @@ public class IdentifierNode extends ExpressionNodeBase
implements IIdentifierNod
}
}
- if (project instanceof RoyaleProject &&
((RoyaleProject)project).apiReportFile != null)
+ if (result != null && project instanceof RoyaleProject &&
((RoyaleProject)project).apiReportFile != null)
{
if (isMemberRef())
{
--
To stop receiving notification emails like this one, please contact
[email protected].