You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/09/20 06:33:55 UTC

[jira] [Assigned] (FLEX-33580) CLONE - Ambiguous reference when using data binding in inherited class with the same name as base class in a different package

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

Justin Mclean reassigned FLEX-33580:
------------------------------------

    Assignee:     (was: Adobe JIRA)
    
> CLONE - Ambiguous reference when using data binding in inherited class with the same name as base class in a different package
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-33580
>                 URL: https://issues.apache.org/jira/browse/FLEX-33580
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Data Binding
>    Affects Versions: Adobe Flex SDK 3.0 (Release), Apache Flex 4.9.0
>         Environment: Affected OS(s): Windows
> Affected OS(s): Windows
> Language Found: English
>            Reporter: Richard Livingston
>            Priority: Minor
>
> Steps to reproduce:
> 1. In attached archive, attempt to compile com/example/extended/Thing.mxml
>  
> Actual Results:
> $ mxmlc -compiler.strict -compiler.debug -compiler.source-path=. com/example/extended/Thing.mxml
> Loading configuration file C:\Flex\sdks\3.0.0.338\frameworks\flex-config.xml
> Error: Ambiguous reference to Thing. [Generated code (use -keep to save): Path: com\example\extended\Thing-generated.as,
>  Line: 188, Column: 10]
> Error: Ambiguous reference to Thing. [Generated code (use -keep to save): Path: com\example\extended\Thing-generated.as,
>  Line: 114, Column: 14] 
>  
> Expected Results:
> Successful compilation.
> This only occurs when 
> (a) Extending class has the same name as base class, but is in a different package .
> (b) Extending class makes use of data binding.
>  
> Workaround (if any):
> Rename one of the classes.

--
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