Skip to content

Commit

Permalink
[NF] Improve TODO-messages
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - OpenModelica/OMCompiler#2356
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed Apr 11, 2018
1 parent c160a16 commit 2245862
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Compiler/NFFrontEnd/NFCeval.mo
Expand Up @@ -315,7 +315,7 @@ algorithm
if Function.isBuiltin(call.fn) then
evalBuiltinCall(call.fn, args, target)
else
evalNormalCall(call.fn, args);
evalNormalCall(call.fn, args, call);

case Call.UNTYPED_MAP_CALL()
algorithm
Expand Down Expand Up @@ -430,9 +430,10 @@ end printUnboundError;
function evalNormalCall
input Function fn;
input list<Expression> args;
input Call call;
output Expression result;
algorithm
Error.addInternalError(getInstanceName() + ": IMPLEMENT ME", sourceInfo());
Error.addInternalError(getInstanceName() + ": IMPLEMENT ME: " + Call.toString(call), sourceInfo());
fail();
end evalNormalCall;

Expand Down
2 changes: 1 addition & 1 deletion Compiler/NFFrontEnd/NFInst.mo
Expand Up @@ -1973,7 +1973,7 @@ algorithm

else
algorithm
Error.assertion(false, getInstanceName() + " got unknown expression", sourceInfo());
Error.assertion(false, getInstanceName() + " got unknown expression: " + Dump.printExpStr(absynExp), sourceInfo());
then
fail();

Expand Down

0 comments on commit 2245862

Please sign in to comment.