Opened 9 years ago
Closed 4 years ago
#3431 closed defect (fixed)
Failure to look up base class in partial model
Reported by: | Markus Dahl | Owned by: | somebody |
---|---|---|---|
Priority: | high | Milestone: | 1.16.0 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: |
Description
Model:
package ConstrainedbyBug package C package T partial model DAC replaceable ConstrainedbyBug.U.M.I.SF comp constrainedby ConstrainedbyBug.U.M.I.SF; end DAC; end T; model DAC extends ConstrainedbyBug.C.T.DAC(redeclare replaceable ConstrainedbyBug.U.M.ST comp); end DAC; end C; package U package M package I partial model S end S; partial model SF extends S; end SF; end I; model ST end ST; end M; end U; end ConstrainedbyBug;
Validation fails with:
[1] 11:43:55 Translation Fel
[ConstrainedbyBug: 21:11-21:20]: Basklass S hittades inte i definitionsomr�de ConstrainedbyBug.C.DAC.
[2] 11:43:55 Translation Varning
[ConstrainedbyBug: 20:9-22:15]: Tvingar full instansiering av partiell klass SF under checkModel.
Change History (1)
comment:1 by , 4 years ago
Component: | *unknown* → Frontend |
---|---|
Milestone: | Future → 1.16.0 |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Seems to have been fixed at some points, it now works fine in both the old and the new frontend.