Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

[NF] better error messages and more evaluation of parameters #2600

Closed
wants to merge 1 commit into from

Conversation

adrpo
Copy link
Member

@adrpo adrpo commented Aug 10, 2018

  • evaluate parameters with annotation(Evaluate=true), make them structural parameters
  • give the deduced variability of the expression that doesn't match the expected variability
  • fix ticket:5062, add an warning message for parameter Type p(fixed=true) annotation(Evaluate=true); with no binding
  • handle ticket:5061 by accepting parameters in the public section of the functions and issue a warning

@OpenModelica-Hudson
Copy link
Member

The job failed the coding style; for details, see OpenModelica_TEST_PULL_REQUEST 2018-08-10_23-52-28. Remember to clean up the commit you did that breaks the coding style rather than piling a new commit on top of the old ones. This goes double for accidental addition of files that you need to remove.

- evaluate parameters with annotation(Evaluate=true), make them structural parameters
- give the deduced variability of the expression that doesn't match the expected variability
- fix ticket:5062, add an warning message for parameter Type p(fixed=true) annotation(Evaluate=true); with no binding
- handle ticket:5061 by accepting parameters in the public section of the functions and issue a warning
@OpenModelica-Hudson
Copy link
Member

The tests run correctly according to OpenModelica_TEST_PULL_REQUEST 2018-08-10_23-58-47.

OpenModelica-Hudson pushed a commit that referenced this pull request Aug 10, 2018
- evaluate parameters with annotation(Evaluate=true), make them structural parameters
- give the deduced variability of the expression that doesn't match the expected variability
- fix ticket:5062, add an warning message for parameter Type p(fixed=true) annotation(Evaluate=true); with no binding
- handle ticket:5061 by accepting parameters in the public section of the functions and issue a warning

Belonging to [master]:
  - #2600
  - OpenModelica/OpenModelica-testsuite#1012
OpenModelica-Hudson pushed a commit to OpenModelica/OpenModelica-testsuite that referenced this pull request Aug 10, 2018
@adrpo adrpo deleted the BetterErrorMessages branch September 20, 2018 22:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants