Parameter derivation when assigning variables in MappingCallExp can navigate to a super type which then needs to be properly cast so that accessed properties are valid.
E.g. "a2c.owner.table" for which a2c is an AttributeToColumn, so a2c.owner is a FromAtributeOwner. But FromAttributeOwner has no table. You need "a2c.owner.oclAsType(ClassToTable).table"
| --- | --- | | Bugzilla Link | 465928 | | Status | NEW | | Importance | P3 major | | Reported | Apr 30, 2015 07:59 EDT | | Modified | Apr 30, 2015 11:50 EDT | | Reporter | Horacio Hoyos |
Description
Parameter derivation when assigning variables in MappingCallExp can navigate to a super type which then needs to be properly cast so that accessed properties are valid.
E.g. "a2c.owner.table" for which a2c is an AttributeToColumn, so a2c.owner is a FromAtributeOwner. But FromAttributeOwner has no table. You need "a2c.owner.oclAsType(ClassToTable).table"