Skip to content

Commit

Permalink
Fix a rollback bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed May 11, 2015
1 parent 77acafc commit 7023616
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Compiler/FrontEnd/Static.mo
Expand Up @@ -7041,7 +7041,9 @@ algorithm
case (cache,env,fn,args,nargs,impl,st as SOME(_),pre,_) /* impl LS: Check if a builtin function call, e.g. size() and calculate if so */
equation
(cache,e,prop,st) = BackendInterface.elabCallInteractive(cache, env, fn, args, nargs, impl, st, pre, info) "Elaborate interactive function calls, such as simulate(), plot() etc." ;
ErrorExt.rollBack("elabCall_InteractiveFunction");
if impl==true then
ErrorExt.rollBack("elabCall_InteractiveFunction");
end if;
then
(cache,e,prop,st);
else
Expand Down

0 comments on commit 7023616

Please sign in to comment.