Skip to content

Commit

Permalink
- Reverted r15866, since it broke some testcases.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15867 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Apr 19, 2013
1 parent 96efeb2 commit 12f6599
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Compiler/FrontEnd/Inst.mo
Original file line number Diff line number Diff line change
Expand Up @@ -5034,7 +5034,6 @@ algorithm
SCode.DERIVED(Absyn.TPATH(path = cn, arrayDim = ad),modifications = mod),
re,partialPrefix,vis,inst_dims,className,_)
equation
false = boolOr(valueEq(ad, NONE()), valueEq(ad, SOME({})));
(cache,(c as SCode.CLASS(name=cn2,encapsulatedPrefix=enc2,restriction=r)),cenv) = Lookup.lookupClass(cache, env, cn, true);

// if is not a basic type
Expand Down Expand Up @@ -5771,8 +5770,7 @@ algorithm
// Try and delete the element with the given name from the list of all
// elements. If this succeeds, add it to the list of elements. This
// ensures that we don't add any dependency more than once.
(all_el, SOME(e as (SCode.COMPONENT(name = _), _))) =
List.deleteMemberOnTrue(id, all_el, isElementNamed);
(all_el, SOME(e)) = List.deleteMemberOnTrue(id, all_el, isElementNamed);
then
((exp, (all_el, e :: accum_el)));

Expand All @@ -5789,7 +5787,7 @@ algorithm
then
((exp, (all_el, e :: accum_el)));*/

else inTuple;
else then inTuple;
end matchcontinue;
end getElementDependenciesTraverserEnter;

Expand Down

0 comments on commit 12f6599

Please sign in to comment.