Skip to content
Success

Changes

Summary

  1. Improve loadFile (#14931) (details)
Commit b65c8f99e844cd3566f4a66a96294b31aafb8d9e by per.ostlund
Improve loadFile (#14931)

- Add error messages for not being able to load the file.
- If the file is a directory, load dir/package.mo instead.

Fixes #14883
The file was modifiedtestsuite/metamodelica/meta/ForIterList.mos (diff)
The file was modifiedOMCompiler/Compiler/Util/Error.mo (diff)
The file was modifiedtestsuite/openmodelica/interactive-API/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScript.mo (diff)
The file was modifiedOMCompiler/Compiler/Util/System.mo (diff)
The file was modifiedOMCompiler/Compiler/runtime/systemimpl.c (diff)
The file was addedtestsuite/openmodelica/interactive-API/LoadFile1.mos
The file was modifiedOMCompiler/Compiler/runtime/systemimpl.h (diff)
The file was modifiedOMCompiler/Compiler/FrontEnd/ModelicaBuiltin.mo (diff)
The file was modifiedOMCompiler/Compiler/FrontEnd/NFEnvExtends.mo (diff)