Skip to content

Changes

Summary

  1. Fix argument order of partial function application (#12504) (details)
Commit e7e9366c65e30cf9e37b8f746b269b243c7d4d06 by noreply
Fix argument order of partial function application (#12504)

- Rewrite `Function.typePartialApplication` to use a slot-based approach
  like normal function calls, to make sure the arguments of the partial
  application have the same order as the corresponding input parameters.
- Change the "no such parameter" error to "no such input parameter" in a
  few places to be more consistent.

Fixes #12491
The file was modified testsuite/flattening/modelica/scodeinst/SizeInvalidArgs2.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFFunction.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo (diff)
The file was addedtestsuite/flattening/modelica/scodeinst/PartialApplication3.mo
The file was modified testsuite/flattening/modelica/scodeinst/Makefile (diff)