Skip to content

Commit

Permalink
- fixes for getIconAnnotation setting the error string.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@3827 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Jan 27, 2009
1 parent 912c1cc commit ac4190d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Compiler/Static.mo
Expand Up @@ -8595,6 +8595,10 @@ algorithm
local Ident x;
then
Exp.SCONST(x);
case (Values.ENUM(x))
local Ident x;
then
Exp.SCONST(x);
case (Values.BOOL(boolean = x))
local Boolean x;
then
Expand All @@ -8615,7 +8619,10 @@ algorithm
then
Exp.TUPLE(explist);
case v
local String x;
equation
// x = Values.valString(v);
// x = "value_exp failed for value:" +& x;
Error.addMessage(Error.INTERNAL_ERROR, {"value_exp failed"});
then
fail();
Expand Down

0 comments on commit ac4190d

Please sign in to comment.