Skip to content

Commit

Permalink
- do not failtrace on Env.mergeEnvConnectionSet
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14057 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Nov 24, 2012
1 parent 97dbaff commit d7da10e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Compiler/FrontEnd/Env.mo
Original file line number Diff line number Diff line change
Expand Up @@ -1056,14 +1056,15 @@ algorithm
then
env;

/*
case (_, _)
equation
true = Flags.isSet(Flags.FAILTRACE);
print("Env.mergeEnvConnectionSet failed on:" +&
"\n\tinFromEnv: " +& getEnvNameStr(inFromEnv) +&
"\n\tinToEnv: " +& getEnvNameStr(inToEnv) +& "\n");
then
fail();
fail();*/

// never fail, return the ToEnv
else inToEnv;
Expand Down

0 comments on commit d7da10e

Please sign in to comment.