Skip to content

Commit

Permalink
[PA] Derive Z3 sort for labeled result/stub pair
Browse files Browse the repository at this point in the history
...from the sort of the concrete disjuncts, which is sound on any
proper, terminating programs.

Test plan:

`dune test program_analysis`

ghstack-source-id: 1cb642277581ab149315dc7550470c936a0c8a0a
Pull Request resolved: #91
  • Loading branch information
robertzhidealx committed Jul 18, 2023
1 parent 3b99a69 commit 6220027
Show file tree
Hide file tree
Showing 10 changed files with 131 additions and 579 deletions.
2 changes: 1 addition & 1 deletion interpreter/src/ast.ml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ let next_label = ref 0

let get_next_label () =
let l = !next_label in
next_label := l + 1;
incr next_label;
l

let reset_label () = next_label := 0
Expand Down
Loading

0 comments on commit 6220027

Please sign in to comment.