Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
Adobe Flex SDK Previous
-
None
-
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.