Opened 10 years ago
Closed 4 years ago
#3146 closed defect (fixed)
Impossible to use "redeclare" in an "extends"
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | high | Milestone: | 1.16.0 |
Component: | New Instantiation | Version: | trunk |
Keywords: | Cc: | Adrian Pop |
Description (last modified by )
model A1 replaceable package Medium = Modelica.Media.Interfaces.PartialMedium; end A1; model A2 A1 a1; end A2; model A3 extends A2(a1(redeclare package Medium = Modelica.Media.Air.ReferenceAir.Air_ph)); end A3;
The model A3 does not run and print this message error:
"Error: Variable a1: In modifier redeclare(Medium), class or component Medium not found in <test2.A1$a1>."
Version: 1.9.1 r22929
Change History (2)
comment:1 by , 10 years ago
Cc: | added |
---|---|
Component: | OMEdit → Frontend |
Description: | modified (diff) |
Owner: | changed from | to
comment:2 by , 4 years ago
Component: | Frontend → New Instantiation |
---|---|
Milestone: | Future → 1.16.0 |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Still an issue in the old frontend, but works fine with the new.