Opened 8 years ago
Closed 3 years ago
#4355 closed defect (fixed)
Simultaneous inner/outer broken
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 )
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 (8)
comment:1 by , 8 years ago
Description: | modified (diff) |
---|
comment:2 by , 7 years ago
Milestone: | 1.12.0 → 1.13.0 |
---|
comment:4 by , 5 years ago
Milestone: | 1.14.0 → 1.16.0 |
---|
Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0
comment:6 by , 4 years ago
Milestone: | 1.17.0 → 1.18.0 |
---|
Retargeted to 1.18.0 because of 1.17.0 timed release.
comment:8 by , 3 years ago
Milestone: | → 1.19.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
The new frontend gives the following flat model for Test.B
:
class Test.B constant Integer n = 42; constant Integer a.n = 41; Real a.x = 42.0; Real a.c.y = 41.0; end Test.B;
The old frontend just seems to hang, but since the new frontend is the default now that should be good enough.
Note:
See TracTickets
for help on using tickets.
Milestone moved to 1.13.0 due to 1.12.0 already being released.