Skip to content

Commit

Permalink
use "uXX" for unit type constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
yongweiy committed May 13, 2024
1 parent 75e3ec9 commit 4fd8789
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion srlexec/literal.ml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ let refine (rctx, { events; op_filter }) =
in
let rctx =
RTypectx.new_to_right rctx
@@ ((Rename.unique "a") #:: (mk_unit_rty_from_prop phi))
@@ ((Rename.unique "u") #:: (mk_unit_rty_from_prop phi))
in
(* Pp.printf "rctx:\n%s\n" @@ RTypectx.layout_typed_l rctx; *)
Right (rctx, of_sevent ~ghosts:[] @@ EffEvent ev))
Expand Down
2 changes: 1 addition & 1 deletion srlexec/symexec.ml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ let add_prop_to_rctx phi rctx =
rctx []
| None ->
RTypectx.new_to_right rctx
@@ ((Rename.unique "a") #:: (mk_unit_rty_from_prop phi))
@@ ((Rename.unique "u") #:: (mk_unit_rty_from_prop phi))

(** Eagerly prune away infeasible branch, otherwise it may make the
current trace infeasible.
Expand Down

0 comments on commit 4fd8789

Please sign in to comment.