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 5ff4db67f16b288b91c6b8146c4e6e4f9c24121f
Author: Alex Harui <aha...@apache.org>
AuthorDate: Thu Feb 22 10:59:14 2018 -0800

    clean up -remove-circulars so it doesn't result in warnings on top-level 
functions
---
 .../java/org/apache/royale/compiler/internal/graph/GoogDepsWriter.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/graph/GoogDepsWriter.java
 
b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/graph/GoogDepsWriter.java
index 04b1041..016077e 100644
--- 
a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/graph/GoogDepsWriter.java
+++ 
b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/graph/GoogDepsWriter.java
@@ -452,7 +452,7 @@ public class GoogDepsWriter {
             {
                if (fi.suppressLine > 0)
                {
-                       if (fi.suppressLine < fi.constructorLine) 
+                       if (fi.suppressLine < fi.constructorLine || 
fi.constructorLine == -1) 
                        {
                                String line = finalLines.get(fi.suppressLine);
                                int c = line.indexOf("@suppress {");

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

Reply via email to