Skip to content

Changes

Summary

  1. Improved handling of propagated array modifiers. (details)
  2. Merge pull request #555 from perost/nfinst (details)
  3. [NF] Fix Flatten.isDeletedComponent. (details)
  4. [NF] Minor fixes. (details)
  5. [NF] Improve Inst.isDiscreteClass. (details)
  6. [NF] Allow rooted(), but give deprecation warning. (details)
Commit d25fb5063bb605e98010ffb30cc47ab2ee04b421 by perost86
Improved handling of propagated array modifiers.

- Added new BINDING_EXP expression, which is now used to track e.g. the
  parents of a binding instead of keeping that information in a Binding.
- Made the Ceval module aware of binding expressions, such that it can
  use the binding information to correctly subscript evaluated component
  references.
- Improved the flattening of propagated array modifiers.
The file was modified OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFConnectEquations.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFSimplifyExp.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFEvalConstants.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFBinding.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFExpressionIterator.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFType.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFCall.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was modified OMCompiler/Compiler/Script/NFApi.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFTypeCheck.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFExpandExp.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFScalarize.mo (diff)
Commit d4a9d9b6c83017bcc5f1bcfb0056ee8d323b6fca by Östlund Per
Merge pull request #555 from perost/nfinst

[NF] Fix ceval of reductions/array constructors.
The file was modified OMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff)
Commit d7dd3f44a3ec066ef14bc7a638a51f8e83b8c7af by perost86
[NF] Fix Flatten.isDeletedComponent.
The file was modified OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo (diff)
Commit 1757101f6f46cfb76d793a430c5497c73d7edb3b by perost86
[NF] Minor fixes.

- Remove superfluous calls to evalExpPartial in
  Ceval.evalArrayConstructor and Ceval.evalReduction.
- Fix makeExpArray so it doesn't create nested array types.
The file was modified OMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
Commit 906b821629efc2a265360734c523248cd55a9807 by perost86
[NF] Improve Inst.isDiscreteClass.

- Handle classes extended from builtin types better.
The file was modified OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff)
The file was addedtestsuite/flattening/modelica/scodeinst/TypeExtends2.mo
The file was modified testsuite/flattening/modelica/scodeinst/Makefile (diff)
Commit b903788a82200eca0951a56f7e2d83ec1579eb7b by perost86
[NF] Allow rooted(), but give deprecation warning.
The file was modified OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff)