Skip to content

Commit

Permalink
+ Small fix for uncertainties attributes. Expect fully-qualified idents.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14930 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
mahge committed Jan 25, 2013
1 parent 7aed191 commit 68218f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Compiler/FrontEnd/Inst.mo
Expand Up @@ -14714,11 +14714,13 @@ algorithm
DAE.Type ty;
Integer paramDim;
DAE.ComponentRef cr,crName,crParams,crParamNames;
Absyn.Path path;

//Record constructor
case (mod, _, index_list, bind_name, _)
equation
SOME(DAE.CALL(path = Absyn.IDENT("Distribution"), expLst = {name,params, paramNames})) = instBinding(mod, varLst, distributionType, index_list, bind_name, useConstValue);
SOME(DAE.CALL(path = path, expLst = {name,params, paramNames})) = instBinding(mod, varLst, distributionType, index_list, bind_name, useConstValue);
true = Absyn.pathEqual(path, Absyn.IDENT("Distribution"));
then
SOME(DAE.DISTRIBUTION(name, params, paramNames));

Expand Down

0 comments on commit 68218f6

Please sign in to comment.