Opened 10 years ago
Closed 10 years ago
#3327 closed defect (fixed)
Redeclare enumeration doesn't work
| Reported by: | Maksimov Doe | Owned by: | somebody |
|---|---|---|---|
| Priority: | high | Milestone: | 1.9.3 |
| Component: | Frontend | Version: | trunk |
| Keywords: | Cc: |
Description
model Ex
class Foo1
extends Foo(redeclare type T = enumeration(One, Two));
end Foo1;
parameter Foo1.T f;
end Ex;
partial class Foo
replaceable type T = enumeration(:);
end Foo;
I get the flattening model with empty enumeration T:
class Ex parameter enumeration() f; end Ex;
And for partial class Foo replaceable type T = enumeration(One); end Foo; I get:
class Ex parameter enumeration(One) f; end Ex;
As you can see redeclaration doesn't affect enumeration T at all.
Change History (1)
comment:1 by , 10 years ago
| Milestone: | Future → 1.9.3 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Fixed in f7a9b467ca3332cf26d8799b5fab6d4f2a1c720c/OMCompiler.