Thanks for the simple example. I had a nagging suspicion that I'd messed
something up, but none of my tests
cover it, and none of the 20 odd additional ones for Indigo either.
On 03/08/2011 15:34, Juan Cadavid wrote:
> I have a problem when importing and using elements from other Ecore
> files inside my current file in OclInEcore. Suppose I have a.ecore:
>
>
> module _'a.ecore'
> package packA : packA = 'packA'{
> class A;
> }
>
>
> which is imported by b.ecore:
>
>
> module _'b.ecore'
> import packA : 'a.ecore#/';
>
> package packB : packB = 'packB'
> {
> class B extends packA::A;
> }
>
> This file displays no errors in the editor when saved; but when I
> close and reopen I get this:
>
> module _'b.ecore'
> package packB : packB = 'packB'
> {
> class B;
> }
>
> Is there anything I'm doing wrong? I'm using the Indigo release
> version. This used to work well before.
>