Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-26975

Invalid 1067 error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • Adobe Flex SDK Previous
    • None
    • MXML Compiler
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Create an class with a property that is of a custom type.
      2. In the class that defines the type used above, create an instance of the class above.
      3. Assign a value to the property in step 1 using the keyword this: instance.prop = this;

      Actual Results:

      I get a compiler error for implicit coercion of the custom type to the custom type.

      Example:
      1067: Implicit coercion of a value of type com.sf.view:TimeSlotDisplay to an unrelated type com.sf.view:TimeSlotDisplay.

      Expected Results:

      No error.

      Workaround (if any):

      Clean project. But error seems to appear approximately every other time I make a change in the file. Using type casting does not help.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: