Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0543D286 for ; Thu, 20 Dec 2012 16:05:14 +0000 (UTC) Received: (qmail 62520 invoked by uid 500); 20 Dec 2012 16:05:13 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 62436 invoked by uid 500); 20 Dec 2012 16:05:13 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 62253 invoked by uid 99); 20 Dec 2012 16:05:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Dec 2012 16:05:13 +0000 Date: Thu, 20 Dec 2012 16:05:13 +0000 (UTC) From: "Michael Schmalle (JIRA)" To: flex-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-33320) Falcon doesn't allow multiline member access MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-33320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537104#comment-13537104 ] Michael Schmalle commented on FLEX-33320: ----------------------------------------- Have to check ECMA script or the AS3 docs. If this stuff is allowed, then this is a bug in the grammar of antlr or the BaseASParser. I could see this as being a not so hard fix since to get into the array access or member state there has to be a correct predicate which would be foo. or foo[a] If Gordon doesn't chime in, I will look at the implementation. This is where it sucks we don't have unit tests for the ASParser! > Falcon doesn't allow multiline member access > -------------------------------------------- > > Key: FLEX-33320 > URL: https://issues.apache.org/jira/browse/FLEX-33320 > Project: Apache Flex > Issue Type: Bug > Reporter: Chema Balsas > Labels: Falcon > Attachments: MultilineArrayAccess.as, MultilineObjectAccess.as > > > Falcon doesn't allow multiline member access. > Try to compile any of the attached examples. Both are supposed to render a textfield in the screen with the text "A test text" in it. > Falcon fails to compile both with errors like: > Internal error: Unable to generate code for 'MetaTags' > /Users/jbalsas/Documents/dev/apache/flex/falcon/trunk/compiler/tests/MultilineObjectAccess.as:12 > Warning: Metadata was not bound to a definition > ["bar"]; -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira