Skip to content

Commit

Permalink
- Fix testsuite
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9465 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Jul 12, 2011
1 parent 93b7a23 commit bd591d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/BackendDAETransform.mo
Expand Up @@ -3947,7 +3947,7 @@ protected function assignWithExpand "function: assignWithExpand
output BackendDAE.Assignments outAssignments1;
output BackendDAE.Assignments outAssignments2;
algorithm
outAssignments := matchcontinue (inInteger1,inInteger2,inAssignments1,inAssignments2)
(outAssignments1,outAssignments2) := matchcontinue (inInteger1,inInteger2,inAssignments1,inAssignments2)
local
BackendDAE.Value s,n,v,d,d1,d2;
BackendDAE.Assignments ass1,ass2;
Expand Down
2 changes: 1 addition & 1 deletion Compiler/FrontEnd/Inst.mo
Expand Up @@ -16553,7 +16553,7 @@ algorithm
case (DAE.VAR(componentRef=DAE.CREF_IDENT(ident=name),source=source)::elts,vars)
equation
true = listMember(name,vars);
Error.addSourceMessage(Error.COMPILER_WARNING,{name},DAEUtil.getElementSourceFileInfo(source));
Error.addSourceMessage(Error.MATCH_SHADOWING_OPTIMIZER,{name},DAEUtil.getElementSourceFileInfo(source));
then fail();
end matchcontinue;
end checkShadowing;
Expand Down

0 comments on commit bd591d9

Please sign in to comment.