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

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

commit f0c0d2717aec0fa526d50b60170d8e1d23e7aa72
Author: Alex Harui <aha...@apache.org>
AuthorDate: Thu Nov 30 15:22:14 2017 -0800

    add comment
---
 .../org/apache/royale/compiler/internal/as/codegen/ABCGenerator.java    | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/compiler/src/main/java/org/apache/royale/compiler/internal/as/codegen/ABCGenerator.java
 
b/compiler/src/main/java/org/apache/royale/compiler/internal/as/codegen/ABCGenerator.java
index 3530fcb..0772f61 100644
--- 
a/compiler/src/main/java/org/apache/royale/compiler/internal/as/codegen/ABCGenerator.java
+++ 
b/compiler/src/main/java/org/apache/royale/compiler/internal/as/codegen/ABCGenerator.java
@@ -635,6 +635,8 @@ public class ABCGenerator implements ICodeGenerator
             catch ( Exception cant_reduce)
             {
                 // Can't generate a constant value, just return null
+               // Do not add a problem for this exception as it could be a 
non-constant
+               // initializer like: var foo = new Date();
             }
         }
 

-- 
To stop receiving notification emails like this one, please contact
"commits@royale.apache.org" <commits@royale.apache.org>.

Reply via email to