You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If global class paths are used, the whitespace in front of the path is removed.
Running mofmt on this:
model AbsolutePaths
extends .Modelica.Fluid.Examples.NonCircularPipes(
redeclare package Medium = .Modelica.Media.Water.StandardWaterOnePhase);
end AbsolutePaths;
Gives:
...
extends.Modelica.Fluid.Examples.NonCircularPipes(
redeclare package Medium =.Modelica.Media.Water.StandardWaterOnePhase);
...
Note the missing whitespaces before both global paths starting with .Modelica.
This is no issue in OpenModelica, but Dymola does not like the missing whitespace between extends and the class path and automatically reformats the code with a newline:
extends
.Modelica.Fluid.Examples.NonCircularPipes(
redeclare package Medium =.Modelica.Media.Water.StandardWaterOnePhase);
The text was updated successfully, but these errors were encountered:
If global class paths are used, the whitespace in front of the path is removed.
Running mofmt on this:
Gives:
Note the missing whitespaces before both global paths starting with
.Modelica
.This is no issue in OpenModelica, but Dymola does not like the missing whitespace between
extends
and the class path and automatically reformats the code with a newline:The text was updated successfully, but these errors were encountered: