Skip to content

Commit

Permalink
- send in the instance hierarchy to Inst.getUsertypeDimensions as is …
Browse files Browse the repository at this point in the history
…now needed for prefixing.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@5603 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed May 31, 2010
1 parent a697c2d commit e2ac65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Cevalfunc.mo
Expand Up @@ -1407,7 +1407,7 @@ algorithm
case(p ,env)
equation
(_,typeClass as SCode.CLASS(name=className),env1) = Lookup.lookupClass(Env.emptyCache(), env, p, false);
(_,dims,typeClass,_,_) = Inst.getUsertypeDimensions(Env.emptyCache(), env1, DAE.NOMOD(), Prefix.NOPRE(), typeClass, {}, true);
(_,dims,typeClass,_,_) = Inst.getUsertypeDimensions(Env.emptyCache(), env1, InnerOuter.emptyInstHierarchy, DAE.NOMOD(), Prefix.NOPRE(), typeClass, {}, true);
(_,env2,_,_,_,_,ty,_,_,_) = Inst.instClass(
Env.emptyCache(),env1,InnerOuter.emptyInstHierarchy,UnitAbsyn.noStore,DAE.NOMOD(),Prefix.NOPRE(),Connect.emptySet,typeClass,{}, true, Inst.INNER_CALL, ConnectionGraph.EMPTY);
ty = Inst.makeArrayType(dims, ty);
Expand Down

0 comments on commit e2ac65f

Please sign in to comment.