Opened 12 years ago
Closed 12 years ago
#2035 closed defect (fixed)
Error with replaceable models
Reported by: | julian.wyszynski | Owned by: | somebody |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: | Per Östlund |
Description
In the newest nightly-build r14903 model1 of attached package gives Error: Part modelPackage of base class modelPackage.Base is replaceable.
In nightly-build r13615 it was working.
By redeclaring modelPackage in model1 it should not be replaceable anymore and I think it should be possible to build a model this way.
Attachments (1)
Change History (3)
by , 12 years ago
Attachment: | ReplaceableError.mo added |
---|
comment:1 by , 12 years ago
Cc: | added |
---|---|
Component: | Backend → Frontend |
Owner: | changed from | to
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
It's unclear in the specification how this should be handled, but Dymola seems to agree with you. So I have disabled this check for now, until we can implement it correctly (I'm currently rewriting a lot of that part of the compiler).
Several parts of the compiler assumes that base classes have not been replaced though, so expect trouble if you do replace base classes for now. If you do find any issues related to this, feel free to open tickets and assign them to me.
Package showing Error