[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2m] [QVTO]when a type does not conform to itself?

Hi,

I'm getting the following error:

"The type 'collections::Bag(MySpecialConnector)' does not conform to the type 'Bag(MySpecialConnector)' of the property 'ownedConnectors'"

originating in the line:

> ownedConnectors:=self.ownedConnector->map toMySpecialConnector();

where 'ownedConnectors' is an attribute from a superclass defined in another metamodel (visible via code completion). The same assignement works when called in the superclass.

Any idea on what is happening here?

Thanks,

César