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 9D03C200B97 for ; Sun, 9 Oct 2016 12:25:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 913A5160AED; Sun, 9 Oct 2016 10:25:22 +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 C574C160AC3 for ; Sun, 9 Oct 2016 12:25:21 +0200 (CEST) Received: (qmail 89552 invoked by uid 500); 9 Oct 2016 10:25:20 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 89534 invoked by uid 99); 9 Oct 2016 10:25:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Oct 2016 10:25:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A15932C0086 for ; Sun, 9 Oct 2016 10:25:20 +0000 (UTC) Date: Sun, 9 Oct 2016 10:25:20 +0000 (UTC) From: "Harbs (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLEX-35140) uncaught exception on missing parens MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 09 Oct 2016 10:25:22 -0000 Harbs created FLEX-35140: ---------------------------- Summary: uncaught exception on missing parens Key: FLEX-35140 URL: https://issues.apache.org/jira/browse/FLEX-35140 Project: Apache Flex Issue Type: Bug Components: Falcon Affects Versions: Apache FalconJX 0.7.0 Reporter: Harbs The following code generates (correctly) generates an error (because it's missing the parenthesis in the function definition): public function parseCard8:int { return this.parseByte(); } When running compc from the command line (using ant) I get the following error: Syntax error: Expected PAREN_OPEN but got ':' When building in Flash Builder, I get the following (unhelpful) error: java.lang.ClassCastException: org.apache.flex.compiler.parsing.IASToken$ASTokenKind cannot be cast to java.lang.String I'm assuming PAREN_OPEN needs to be converted to a string: "(". -- This message was sent by Atlassian JIRA (v6.3.4#6332)