Skip to content

Commit

Permalink
- Static.elabCallArgs2 no longer prints error messages if it succeeds…
Browse files Browse the repository at this point in the history
…, but elaborating as record constructor fails

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@6232 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Sep 27, 2010
1 parent be2b13e commit e13742e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Static.mo
Expand Up @@ -8812,7 +8812,7 @@ algorithm
Absyn.Path fpath;
equation
(cache,(t as (DAE.T_FUNCTION(fargs,(outtype as (DAE.T_COMPLEX(complexClassType as ClassInf.RECORD(path=_),_,_,_),_)),DAE.NO_INLINE),_)),_)
= Lookup.lookupType(cache,env, fn, true);
= Lookup.lookupType(cache,env, fn, false);
// print(" inst record: " +& name +& " \n");
(_,recordCl,recordEnv) = Lookup.lookupClass(cache,env,fn, false);
true = MetaUtil.classHasRestriction(recordCl, SCode.R_RECORD());
Expand Down

0 comments on commit e13742e

Please sign in to comment.