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 b30ef38 sometimes project isn't RoyaleProject
b30ef38 is described below
commit b30ef38ae49c801afc45b5a8f81be546ec46a2f4
Author: Alex Harui <[email protected]>
AuthorDate: Tue Feb 20 21:52:33 2018 -0800
sometimes project isn't RoyaleProject
---
.../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 f4a3689..7ba01c2 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 (((RoyaleProject)project).apiReportFile != null)
+ if (project instanceof RoyaleProject &&
((RoyaleProject)project).apiReportFile != null)
{
if (isMemberRef())
{
--
To stop receiving notification emails like this one, please contact
[email protected].