Skip to content

Commit

Permalink
Re-activating error message for getProgramFromStrategy (#8985)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnHeuermann committed May 20, 2022
1 parent 934e149 commit c454bc7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions OMCompiler/Compiler/FrontEnd/ClassLoader.mo
Expand Up @@ -796,11 +796,11 @@ function getProgramFromStrategy
algorithm
program := match strategy
case STRATEGY_HASHTABLE()
equation
/* if not BaseHashTable.hasKey(filename, strategy.ht) then
Error.addInternalError("HashTable missing file " + filename + " - all entries include:\n" + stringDelimitList(BaseHashTable.hashTableKeyList(ht), "\n"), sourceInfo());
algorithm
if not BaseHashTable.hasKey(filename, strategy.ht) then
Error.addInternalError("HashTable missing file " + filename + " - all entries include:\n" + stringDelimitList(BaseHashTable.hashTableKeyList(strategy.ht), "\n"), sourceInfo());
fail();
end if; */
end if;
then BaseHashTable.get(filename, strategy.ht);
case STRATEGY_ON_DEMAND() then Parser.parse(filename, strategy.encoding);
end match;
Expand Down

0 comments on commit c454bc7

Please sign in to comment.