Opened 8 years ago

Last modified 3 years ago

#4355 closed defect

Simultaneous inner/outer broken — at Version 1

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

Description (last modified by Christoph Höger)

The following model should work according to the specification. In particular, 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 (1)

comment:1 by Christoph Höger, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.