Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

Conversation

@perost
Copy link
Member

@perost perost commented Dec 8, 2017

No description provided.

@OpenModelica-Hudson
Copy link
Member

The tests run correctly according to OpenModelica_TEST_PULL_REQUEST 2017-12-08_18-50-38.

OpenModelica-Hudson pushed a commit to OpenModelica/OMCompiler that referenced this pull request Dec 8, 2017
- Replaced EquationScope, ClassScope and ExpOrigin with new ExpOrigin
  bitfield.
- Removed Component.Attributes.DEFAULT and Class.Attributes.DEFAULT,
  constants work equally well to save memory and simplifies the code.
- Set variables with no variability prefix and discrete type to be
  discrete so e.g. pre() works correctly.
- Fixed variability of many builtin functions.
- Fixed variability of relations with regards to noEvent.
- Fixed variability of expressions in when-clauses.
- Fixed typing of noEvent.
- Added check that time, pre, edge and change isn't used in a
  function context.
- Fixed handling of size on subscripted expressions.
- Moved handling of end to typing of subscripts, since the old handling
  relied upon ExpOrigin being a uniontype with subscript information.
- Improved handling of end to generate appropriate size expressions when
  the size of the dimension is unknown.
- Adapted the parenthesization algorithm from Dump to
  NFExpression.toString to get rid of extraneous parentheses in error
  messages.
- Fixed flattening of if-equations so the bodies of the branches aren't
  in reverse order compared with the conditions (oops...).

Belonging to [master]:
  - #2069
  - OpenModelica/OpenModelica-testsuite#801
OpenModelica-Hudson pushed a commit that referenced this pull request Dec 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants