Opened 9 years ago
Closed 9 years ago
#3393 closed enhancement (wontfix)
OpenModelica fails to open package with syntax errors
Reported by: | Owned by: | Martin Sjölund | |
---|---|---|---|
Priority: | low | Milestone: | never |
Component: | Parser | Version: | trunk |
Keywords: | Cc: |
Description
I'm attempting to load a Modelica package into OpenModelica. The package has some known syntax errors. I would have expected OpenModelica to warn me about the errors but to continue to load the package as possible. The types of errors are:
- a case mismatch between the component name in the code and the file name on the file system
- a component defined in the package.order file that does not exist in the package.mo file or as a component .mo file
For some other issues I do get warnings but these two cases cause the loading of the package to fail.
Change History (4)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Component: | Unknown → Parser |
---|---|
Milestone: | Future |
Owner: | changed from | to
Priority: | normal → low |
comment:3 by , 9 years ago
Milestone: | → never |
---|
comment:4 by , 9 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
We talked quite a bit about this and we reached the conclusion that we should not load packages with syntax errors. We might come back to the decision but for now this is how it is.