@@ -422,6 +422,8 @@ let mk_inv_spec (_pf : proofenv) env inv fl fr =
422422 let post = map_ts_inv2 f_and eq_res inv in
423423 f_equivF pre fl fr post
424424
425+ let ensure_none_poe tc poe =
426+ if not (is_none poe) then tc_error !! tc " exception are not supported"
425427
426428let process_call side info tc =
427429 let process_spec_2 tc side pre post =
@@ -569,9 +571,11 @@ let process_call side info tc =
569571 let _, concl = FApi. tc1_flat tc in
570572 match concl.f_node with
571573 | FhoareS _ ->
574+ let poe = odfl ([] ,None ) poe in
572575 process_spec_1 tc side pre post poe
573576 | _ ->
574- process_spec_2 tc side pre post
577+ ensure_none_poe tc poe;
578+ process_spec_2 tc side pre post
575579 end
576580
577581 | CI_inv inv ->
@@ -647,7 +651,8 @@ let process_call_concave (fc, info) tc =
647651
648652 let process_cut tc info =
649653 match info with
650- | CI_spec (pre , post , ([] ,None)) ->
654+ | CI_spec (pre , post , poe ) ->
655+ ensure_none_poe tc poe;
651656 let ty,fmake = process_spec tc in
652657 let _, pre = TTC. tc1_process_Xhl_form tc ty pre in
653658 let _, post = TTC. tc1_process_Xhl_form tc ty post in
0 commit comments