Opened 8 years ago

Last modified 3 years ago

#4355 closed defect

Simultaneous inner/outer broken — at Initial Version

Reported by: Christoph Höger Owned by: somebody
Priority: high Milestone: 1.19.0
Component: *unknown* Version: v1.11.0
Keywords: Cc:

Description

The following model should work according to the specification. In particilar, the n on the rhs of n in A should point to the outer constant and the n in c should point to the one in A.
i.e., I expect the equation a.c.y = 41.

package Test
  class A
    inner outer constant Integer n = n-1;
    Real x = n;
    C c;
  end A;

  class B
    inner constant Integer n = 42;
    A a;
  end B;

  class C
    outer constant Integer n;
    Real y = n;
  end C;
end Test;

Change History (0)

Note: See TracTickets for help on using tickets.