incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Schmalle (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33320) Falcon doesn't allow multiline member access
Date Thu, 20 Dec 2012 16:05:13 GMT

    [ 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

Mime
View raw message