Skip to content

Commit

Permalink
Merge pull request #68 from AeneasVerif/protz_fix_upstream
Browse files Browse the repository at this point in the history
Protz fix upstream
  • Loading branch information
msprotz authored Aug 29, 2024
2 parents 6b89c70 + 67e4bb6 commit 0a1b4e9
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 17 deletions.
30 changes: 15 additions & 15 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 21 additions & 2 deletions lib/Cleanup1.ml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,18 @@ let remove_assignments =
List.map
(fun atom ->
let name, typ = AtomMap.find atom not_yet_closed in
( { node = { atom; name; mut = true; mark = ref Krml.Mark.default; meta = None }; typ },
( {
node =
{
atom;
name;
mut = true;
mark = ref Krml.Mark.default;
meta = None;
attempt_inline = false;
};
typ;
},
if typ = TUnit then
Krml.Helpers.eunit
else
Expand Down Expand Up @@ -153,7 +164,15 @@ let remove_assignments =
let name, typ = AtomMap.find atom not_yet_closed in
let b =
{
node = { atom; name; mut = true; mark = ref Krml.Mark.default; meta = None };
node =
{
atom;
name;
mut = true;
mark = ref Krml.Mark.default;
meta = None;
attempt_inline = false;
};
typ;
}
in
Expand Down

0 comments on commit 0a1b4e9

Please sign in to comment.