We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Modelica Language Specificaton 3.6 introduced two new features involving the existing break keyword, which are not formatted correct by mofmt:
break
Here is an example using those new features:
partial model ConditionalExtends extends Modelica.Blocks.Examples.PID_Controller( break loadTorque, inertia1(J=break), break connect(speedSensor.w, PI.u_m)); end ConditionalExtends;
Running it through mofmt 0.3.1 gives no errors, but the output is not satisfying:
partial model ConditionalExtends extends Modelica.Blocks.Examples.PID_Controller(break loadTorque, inertia1(J = break), break connect(speedSensor.w, PI.u_m)); end ConditionalExtends;
The text was updated successfully, but these errors were encountered:
This and other reported issues will be fixed in 0.3.2.
0.3.2
Sorry, something went wrong.
Fix missing line breaks at inheritance modifications (#8)
c178bd3
This fixes #6 Test were updated to prevent such regressions in the future.
Thanks for the quick fixes. v0.3.2 works like a charm.
By the way, mofmt is a great tool and very helpful. Nicely done!
ErykMroczek
Successfully merging a pull request may close this issue.
Modelica Language Specificaton 3.6 introduced two new features involving the existing
break
keyword, which are not formatted correct by mofmt:Here is an example using those new features:
Running it through mofmt 0.3.1 gives no errors, but the output is not satisfying:
The text was updated successfully, but these errors were encountered: