diff --git a/Compiler/FrontEnd/Ceval.mo b/Compiler/FrontEnd/Ceval.mo index c87c8ae89e2..97329e98e0d 100644 --- a/Compiler/FrontEnd/Ceval.mo +++ b/Compiler/FrontEnd/Ceval.mo @@ -1936,7 +1936,7 @@ algorithm then (cache,Values.STRING(str)); - case (cache,env,{exp, len_exp, justified_exp, sig_dig},impl,msg,_) + case (cache,env,{exp, sig_dig, len_exp, justified_exp},impl,msg,_) equation (cache,Values.REAL(r)) = ceval(cache,env, exp, impl, msg,numIter+1); (cache,Values.INTEGER(len)) = ceval(cache,env, len_exp, impl, msg,numIter+1); diff --git a/Compiler/FrontEnd/Static.mo b/Compiler/FrontEnd/Static.mo index b7d120cfb33..7b2691a2c58 100644 --- a/Compiler/FrontEnd/Static.mo +++ b/Compiler/FrontEnd/Static.mo @@ -6066,11 +6066,14 @@ algorithm NONE()), false, NONE(), {}, 1, SLOT_NOT_EVALUATED); try // Try the String(val,