Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4178E200D5C for ; Fri, 1 Dec 2017 00:24:39 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3FEC9160C19; Thu, 30 Nov 2017 23:24:39 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B6645160C04 for ; Fri, 1 Dec 2017 00:24:38 +0100 (CET) Received: (qmail 76817 invoked by uid 500); 30 Nov 2017 23:24:38 -0000 Mailing-List: contact commits-help@royale.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@royale.apache.org Delivered-To: mailing list commits@royale.apache.org Received: (qmail 76807 invoked by uid 99); 30 Nov 2017 23:24:37 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Nov 2017 23:24:37 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id F39ED857A1; Thu, 30 Nov 2017 23:24:36 +0000 (UTC) Date: Thu, 30 Nov 2017 23:24:38 +0000 To: "commits@royale.apache.org" Subject: [royale-compiler] 02/05: add comment MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: aharui@apache.org In-Reply-To: <151208427672.15497.4434982914683054105@gitbox.apache.org> References: <151208427672.15497.4434982914683054105@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: royale-compiler X-Git-Refname: refs/heads/feature/rename X-Git-Reftype: branch X-Git-Rev: f0c0d2717aec0fa526d50b60170d8e1d23e7aa72 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20171130232436.F39ED857A1@gitbox.apache.org> archived-at: Thu, 30 Nov 2017 23:24:39 -0000 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 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" .