flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (FLEX-26634) Mxml compiler creates binding to static const property
Date Wed, 23 Sep 2015 13:48:08 GMT

     [ https://issues.apache.org/jira/browse/FLEX-26634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Justin Mclean reopened FLEX-26634:
----------------------------------
      Assignee:     (was: Adobe JIRA)

> Mxml compiler creates binding to static const property
> ------------------------------------------------------
>
>                 Key: FLEX-26634
>                 URL: https://issues.apache.org/jira/browse/FLEX-26634
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: .Unspecified - Compiler
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>
> Steps to reproduce:
> 1. Assign some flex component property to static constant using curly braces, for ex.
horizontalScrollPolicy="{ScrollPolicy.OFF}" 
> 2. Compile with -keep switch
> 3. Look at the generated .as file - a binding has been created.
>  
>  Actual Results:
>  Binding created for every static const
>  
>  Expected Results:
>  No binding, just assignment.
>  
>  Workaround (if any):
>  Use static const property value, i.e. horizontalScrollPolicy="off"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message