Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dymola-specific code in MSL 3.2.1 #1014

Closed
modelica-trac-importer opened this issue Jan 14, 2017 · 10 comments
Closed

Dymola-specific code in MSL 3.2.1 #1014

modelica-trac-importer opened this issue Jan 14, 2017 · 10 comments
Assignees
Labels
enhancement New feature or enhancement L: Media Issue addresses Modelica.Media P: lowest Lowest priority issue

Comments

@modelica-trac-importer
Copy link

Reported by fcasella on 11 Mar 2013 11:41 UTC
A search for "Dymola" in the trunk reveals that there are still two Dymola-specific classes left in Modelica, inside Modelica.Media.Incompressible. In both cases the code reads:

// Dummy definition has to be added for current Dymola
   redeclare function extends solve
   end solve;

This code should obviously have no effect, and it was added to the libary back in February 2006, when the "current" version of Dymola was 6.0 or something like that. I guess it should be removed.


Migrated-From: https://trac.modelica.org/Modelica/ticket/1014

@modelica-trac-importer modelica-trac-importer added this to the MSL3.2.1 milestone Jan 14, 2017
@modelica-trac-importer modelica-trac-importer added bug Critical/severe issue L: Media Issue addresses Modelica.Media P: high High priority issue labels Jan 14, 2017
@modelica-trac-importer
Copy link
Author

Comment by hansolsson on 11 Mar 2013 15:10 UTC
I will have to check this in more detail. But I would propose to keep the dummy function for this release at least - it seems pretty harmless from the user perspective.

You could possibly replace 'Dymola' by 'some tools' if someone does not like 'Dymola' here.

@modelica-trac-importer
Copy link
Author

Comment by otter on 26 Mar 2013 16:29 UTC
Changed the comment to "dummy definition (has to be added for one tool)" in e719077. Since this is correct Modelica code, this is still fine and it is not worth to keep this ticket.

@modelica-trac-importer
Copy link
Author

Comment by dietmarw on 26 Mar 2013 19:02 UTC
I don't agree that keeping dummy code for what ever reason. The MSL is often regarded as the standard implementation and when users look at the code they should not be guided to "this is how you should code Modelica". Also the "one tool" can without problem patch the MSL for their delivery just like all the other tools had to do because of some "one tool special code".

So rather than closing this as "fixed" (which it isn't) it should be left open and rescheduled (the current workaround might be acceptable for the upcoming release) and then removed it for the next one just like Hans suggested.

@modelica-trac-importer modelica-trac-importer removed this from the MSL3.2.1 milestone Jan 14, 2017
@modelica-trac-importer modelica-trac-importer removed the P: high High priority issue label Jan 14, 2017
@modelica-trac-importer
Copy link
Author

Modified by otter on 18 Jul 2013 12:01 UTC

@modelica-trac-importer modelica-trac-importer added P: lowest Lowest priority issue enhancement New feature or enhancement and removed bug Critical/severe issue labels Jan 14, 2017
@modelica-trac-importer
Copy link
Author

Comment by hansolsson on 18 Jun 2015 10:01 UTC
I thought I yesterday added that it no longer seems needed in current Dymola versions.
Unfortunately I cannot change it to "default" owner.

@modelica-trac-importer
Copy link
Author

Modified by dietmarw on 18 Jun 2015 11:20 UTC

@modelica-trac-importer
Copy link
Author

Comment by hubertus on 18 Jun 2015 21:06 UTC
Fixed in 928961c for trunk and in e8805db for the 3.2.1 maintenance branch

@modelica-trac-importer
Copy link
Author

Modified by hubertus on 18 Jun 2015 21:13 UTC

@modelica-trac-importer
Copy link
Author

Modified by dietmarw on 19 Jun 2015 06:01 UTC

@modelica-trac-importer
Copy link
Author

Changelog modified by dietmarw on 19 Jun 2015 06:01 UTC
Tool-specific workaround removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement L: Media Issue addresses Modelica.Media P: lowest Lowest priority issue
Projects
None yet
Development

No branches or pull requests

3 participants