Richard Livingston created FLEX-33580:
-----------------------------------------

             Summary: 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)
         Environment: Affected OS(s): Windows
Affected OS(s): Windows
Language Found: English
            Reporter: Richard Livingston
            Assignee: Adobe JIRA
            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

Reply via email to